diff options
| author | Wayne Davison <wayned@samba.org> | 2006-11-09 02:39:29 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-11-09 02:39:29 +0000 |
| commit | 2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8 (patch) | |
| tree | 9d7c2bdec0e7a57c0928a3656b8353b1f113d949 /token.c | |
| parent | e0930845ce339fc51f607ba19bc40a8685118b91 (diff) | |
| download | android_external_rsync-2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8.tar.gz android_external_rsync-2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8.tar.bz2 android_external_rsync-2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8.zip | |
Got rid of type-casting into isFOO() and toFOO() functions by
using static inline functions that take a signed char pointer.
Diffstat (limited to 'token.c')
| -rw-r--r-- | token.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
