aboutsummaryrefslogtreecommitdiff
path: root/lib/libmodplug/src/load_abc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libmodplug/src/load_abc.cpp')
-rw-r--r--lib/libmodplug/src/load_abc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmodplug/src/load_abc.cpp b/lib/libmodplug/src/load_abc.cpp
index 448b26ac82..fd708578bb 100644
--- a/lib/libmodplug/src/load_abc.cpp
+++ b/lib/libmodplug/src/load_abc.cpp
@@ -275,7 +275,7 @@ static void setenv(const char *name, const char *value, int overwrite)
#endif
-static int abc_isvalidchar(char c) {
+static int abc_isvalidchar(unsigned char c) {
return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':');
}