diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index 2c5c15d..33b76d6 100644 --- a/src/utils.c +++ b/src/utils.c @@ -220,7 +220,7 @@ char *string_toupper(char* str) char *res = strdup(str); size_t i; for (i = 0; i < strlen(res); i++) { - res[i] = toupper(res[i]); + res[i] = toupper((unsigned char)res[i]); } return res; } |
