OSDN Git Service

* libc/stdio/vfprintf.c: Include ../stdlib/local.h. Replace call to
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / stdlib / mbtowc_r.c
index 0fa57fa..863404f 100644 (file)
@@ -221,7 +221,7 @@ _DEFUN (__utf8_mbtowc, (r, pwc, s, n, charset, state),
       return 0; /* s points to the null character */
     }
 
-  if (ch >= 0x0 && ch <= 0x7f)
+  if (ch <= 0x7f)
     {
       /* single-byte sequence */
       state->__count = 0;