[git commit] _scanf.c: fix to signedness warnings
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:33 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=b5b89546cac76aeb6d18b36418edda2175f88eca
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/stdio/_scanf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c
index 0adb5f5..9aa1d52 100644
--- a/libc/stdio/_scanf.c
+++ b/libc/stdio/_scanf.c
@@ -377,9 +377,9 @@ int vswscanf(const wchar_t * __restrict str, const wchar_t * __restrict format,
FILE f;
f.__bufstart =
- f.__bufpos = (char *) str;
+ f.__bufpos = (unsigned char *) str;
f.__bufread =
- f.__bufend = (char *)(str + wcslen(str));
+ f.__bufend = (unsigned char *)(str + wcslen(str));
__STDIO_STREAM_DISABLE_GETC(&f);
__STDIO_STREAM_DISABLE_PUTC(&f);
More information about the uClibc-cvs
mailing list