diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-12 14:23:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-12 14:23:43 +0000 |
commit | b0cab4e85aed43031a0210f2a31742bbcef7e734 (patch) | |
tree | b3ec81b47aa978bafdf7c777fdfc6e348f1a514e /src/plugins/id3_extractor.c | |
parent | 7b62c01e87a1d2f5009f356fc0f3d70662b1e1a9 (diff) | |
download | libextractor-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.c | 2 |
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[] = { | |||
202 | static void | 202 | static void |
203 | trim (char *k) | 203 | trim (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 | ||