diff options
author | Chris Robinson <[email protected]> | 2022-04-16 03:53:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-04-16 03:53:54 -0700 |
commit | adccf0aec935ff9b30e57aa8f4a1eb006beb92c2 (patch) | |
tree | e22eb24966d515caefffc7135a9fb35dcb90858d /alc/device.h | |
parent | 4bfaf860bfc2575c7dcfa5192902bfef35a36234 (diff) |
Use a bool type for boolean parameters
Diffstat (limited to 'alc/device.h')
-rw-r--r-- | alc/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/device.h b/alc/device.h index 62ed0346..04931a5a 100644 --- a/alc/device.h +++ b/alc/device.h @@ -137,7 +137,7 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice>, DeviceBase { void enumerateHrtfs(); - bool getConfigValueBool(const char *block, const char *key, int def) + bool getConfigValueBool(const char *block, const char *key, bool def) { return GetConfigValueBool(DeviceName.c_str(), block, key, def); } template<typename T> |