X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/07a874fd9b990c4ea1e370d350fc77f9ecc171b5..32f761755e2cfee243a1513c9ea9871586463fa6:/util.c diff --git a/util.c b/util.c index bdde8b45..63af7dab 100644 --- a/util.c +++ b/util.c @@ -532,8 +532,8 @@ void glob_expand(char *base1, char **argv, int *argc, int maxargs) void strlower(char *s) { while (*s) { - if (isupper((int) *s)) - *s = tolower((int) *s); + if (isupper(* (unsigned char *) s)) + *s = tolower(* (unsigned char *) s); s++; } }