Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/time/strptime.c')
-rw-r--r--newlib/libc/time/strptime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/time/strptime.c b/newlib/libc/time/strptime.c
index 601f93e8a..0fc5f4e13 100644
--- a/newlib/libc/time/strptime.c
+++ b/newlib/libc/time/strptime.c
@@ -165,8 +165,8 @@ _DEFUN (strptime, (buf, format, timeptr),
char *s;
int ret;
- if (isspace ((unsigned char) c)) {
- while (isspace ((unsigned char) *buf))
+ if (isspace (c)) {
+ while (isspace (*buf))
++buf;
} else if (c == '%' && format[1] != '\0') {
c = *++format;