summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index bbb51d668..4905cfabd 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -1150,7 +1150,7 @@ void strlower(char *n)
if (n)
{
for (char* t = n; *t; t++)
- *t = lowermap[(unsigned)*t];
+ *t = lowermap[(unsigned char)*t];
}
}