X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e0930845ce339fc51f607ba19bc40a8685118b91..2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8:/token.c diff --git a/token.c b/token.c index d3cee049..1ccacbe2 100644 --- a/token.c +++ b/token.c @@ -49,8 +49,8 @@ void set_compression(char *fname) continue; } do { - if (isupper(*(unsigned char *)f)) - *t++ = tolower(*(unsigned char *)f); + if (isUpper(f)) + *t++ = toLower(f); else *t++ = *f; } while (*++f != ' ' && *f);