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