aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/alconfig.cpp')
-rw-r--r--alc/alconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alconfig.cpp b/alc/alconfig.cpp
index 60cb4daf..7c1eec6d 100644
--- a/alc/alconfig.cpp
+++ b/alc/alconfig.cpp
@@ -519,7 +519,7 @@ al::optional<bool> ConfigValueBool(const char *devName, const char *blockName, c
return al::nullopt;
}
-int GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, int def)
+bool GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, bool def)
{
if(const char *val{GetConfigValue(devName, blockName, keyName)})
return (al::strcasecmp(val, "on") == 0 || al::strcasecmp(val, "yes") == 0