svn commit: r196752 - head/lib/libc/stdtime
Andrey A. Chernov
ache at FreeBSD.org
Wed Sep 2 04:56:30 UTC 2009
Author: ache
Date: Wed Sep 2 04:56:30 2009
New Revision: 196752
URL: http://svn.freebsd.org/changeset/base/196752
Log:
Use (unsigned char) cast for ctype macro
Modified:
head/lib/libc/stdtime/strptime.c
Modified: head/lib/libc/stdtime/strptime.c
==============================================================================
--- head/lib/libc/stdtime/strptime.c Wed Sep 2 04:43:46 2009 (r196751)
+++ head/lib/libc/stdtime/strptime.c Wed Sep 2 04:56:30 2009 (r196752)
@@ -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++;
More information about the svn-src-all
mailing list