mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Use dword size to evaluate bool value of registry key reader
Related-To: NEO-4542 Change-Id: Ifd7b9bb1ce5c4fd1397ca6c8c48f8ee6615721e6 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
0e00277663
commit
bc2ca947a0
@ -39,7 +39,7 @@ const char *RegistryReader::appSpecificLocation(const std::string &name) {
|
||||
}
|
||||
|
||||
bool RegistryReader::getSetting(const char *settingName, bool defaultValue) {
|
||||
return getSetting(settingName, static_cast<int64_t>(defaultValue)) ? true : false;
|
||||
return getSetting(settingName, static_cast<int32_t>(defaultValue)) ? true : false;
|
||||
}
|
||||
|
||||
int32_t RegistryReader::getSetting(const char *settingName, int32_t defaultValue) {
|
||||
|
Reference in New Issue
Block a user