X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e7c67065c060d500eba8d073da9568db2c658aad..5303941021034f9b6272d5c1512096e125aece1e:/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);