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 93c37703..8ca81bc8 100644
--- a/alc/alconfig.cpp
+++ b/alc/alconfig.cpp
@@ -189,7 +189,7 @@ void LoadConfigFromFile(std::istream &f)
(section[2] >= 'a' && section[2] <= 'f') ||
(section[2] >= 'A' && section[2] <= 'F')))
{
- unsigned char b = 0;
+ int b{0};
if(section[1] >= '0' && section[1] <= '9')
b = (section[1]-'0') << 4;
else if(section[1] >= 'a' && section[1] <= 'f')