aboutsummaryrefslogtreecommitdiff
path: root/lib/libmodplug
diff options
context:
space:
mode:
authorCrystalPT <CrystalPT@svn>2010-09-25 08:56:59 +0000
committerCrystalPT <CrystalPT@svn>2010-09-25 08:56:59 +0000
commit7219ed62260dc7a23e7f586df6be6f93f1265f0e (patch)
treea09a2d58a9f36251601593b9efae6ee827c4608c /lib/libmodplug
parenta48a15761a321bcc2d898155e4c8551f7fdd026c (diff)
[WIN32] fixed: don't trip ASSERT in c runtime - a character is 0->255 not -127->127
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34174 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'lib/libmodplug')
-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 == ':');
}