aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/id3_extractor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-12 14:23:43 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-12 14:23:43 +0000
commitb0cab4e85aed43031a0210f2a31742bbcef7e734 (patch)
treeb3ec81b47aa978bafdf7c777fdfc6e348f1a514e /src/plugins/id3_extractor.c
parent7b62c01e87a1d2f5009f356fc0f3d70662b1e1a9 (diff)
downloadlibextractor-b0cab4e85aed43031a0210f2a31742bbcef7e734.tar.gz
libextractor-b0cab4e85aed43031a0210f2a31742bbcef7e734.zip
pass unsigned chars only to isXXXX functions
Diffstat (limited to 'src/plugins/id3_extractor.c')
-rw-r--r--src/plugins/id3_extractor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/id3_extractor.c b/src/plugins/id3_extractor.c
index 1426d01..4c89075 100644
--- a/src/plugins/id3_extractor.c
+++ b/src/plugins/id3_extractor.c
@@ -202,7 +202,7 @@ static const char *const genre_names[] = {
202static void 202static void
203trim (char *k) 203trim (char *k)
204{ 204{
205 while ((strlen (k) > 0) && (isspace (k[strlen (k) - 1]))) 205 while ((strlen (k) > 0) && (isspace ((unsigned char) k[strlen (k) - 1])))
206 k[strlen (k) - 1] = '\0'; 206 k[strlen (k) - 1] = '\0';
207} 207}
208 208