diff options
author | ache <ache@FreeBSD.org> | 2009-09-02 04:56:30 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2009-09-02 04:56:30 +0000 |
commit | aa27c70cfab62d65bd2e08cd14290897eb087152 (patch) | |
tree | 2b625c2384f10c1d78d4a6ce14dcdc4467a7053c /lib | |
parent | cc84c0640feeec73ce3cfa8443f347fcb4049ab2 (diff) | |
download | FreeBSD-src-aa27c70cfab62d65bd2e08cd14290897eb087152.zip FreeBSD-src-aa27c70cfab62d65bd2e08cd14290897eb087152.tar.gz |
Use (unsigned char) cast for ctype macro
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdtime/strptime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c index c7de35c..51d41ed 100644 --- a/lib/libc/stdtime/strptime.c +++ b/lib/libc/stdtime/strptime.c @@ -529,7 +529,7 @@ label: buf++; i = 0; for (len = 4; len > 0; len--) { - if (isdigit((int)*buf)) { + if (isdigit((unsigned char)*buf)) { i *= 10; i += *buf - '0'; buf++; |