diff options
-rw-r--r-- | Alc/alcConfig.c | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c index de42f154..eee64845 100644 --- a/Alc/alcConfig.c +++ b/Alc/alcConfig.c @@ -314,7 +314,7 @@ float GetConfigValueFloat(const char *blockName, const char *keyName, float def) #endif } -int GetConfigValueBool(const char *blockName, const char *keyName, float def) +int GetConfigValueBool(const char *blockName, const char *keyName, int def) { const char *val = GetConfigValue(blockName, keyName, ""); diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index fc9cf71d..ed03bea8 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -381,7 +381,7 @@ void FreeALConfig(void); const char *GetConfigValue(const char *blockName, const char *keyName, const char *def); int GetConfigValueInt(const char *blockName, const char *keyName, int def); float GetConfigValueFloat(const char *blockName, const char *keyName, float def); -int GetConfigValueBool(const char *blockName, const char *keyName, float def); +int GetConfigValueBool(const char *blockName, const char *keyName, int def); void EnableRTPrio(ALint level); |