diff options
author | Chris Robinson <[email protected]> | 2009-12-26 07:42:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-12-26 07:42:57 -0800 |
commit | 6e9ce47a4b0f82e844483d18632c67ac169d2db2 (patch) | |
tree | ddb915c6462514fde1f146cce5e4adf21cbbe191 | |
parent | 89f59c0e1c37bd63745bb9ba8ea454391aa33344 (diff) |
GetConfigValueBool should take an int, not a float
-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); |