OSDN Git Service

* libc/ctype/tolower.c (tolower): Cast conversion result from
authorcorinna <corinna>
Tue, 9 Jun 2009 11:33:56 +0000 (11:33 +0000)
committercorinna <corinna>
Tue, 9 Jun 2009 11:33:56 +0000 (11:33 +0000)
commitd5e613001695c3216d9f98ddbcb3dc755e56d186
tree8344cc04fd490366aae8c1d7c47f5d6250416563
parentae3d07d1d0d4759ecfc994ab012b2feb3b2e4685
* libc/ctype/tolower.c (tolower): Cast conversion result from
mbtowc/wctomb to unsigned char to avoid negative return values.
* libc/ctype/toupper.c (toupper): Ditto.
newlib/ChangeLog
newlib/libc/ctype/tolower.c
newlib/libc/ctype/toupper.c