diff options
Diffstat (limited to 'singles.c')
| -rw-r--r-- | singles.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -324,7 +324,7 @@ static char n2c(int num) { } static int c2n(char c) { - if (isdigit(c)) + if (isdigit((unsigned char)c)) return (int)(c - '0'); else if (c >= 'a' && c <= 'z') return (int)(c - 'a' + 10); |