Got rid of type-casting into isFOO() and toFOO() functions by
[rsync/rsync.git] / token.c
diff --git a/token.c b/token.c
index d3cee04..1ccacbe 100644 (file)
--- 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);