OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f418f52
)
_scanf.c: fix to signedness warnings
author
Peter S. Mazinger
<ps.m@gmx.net>
Thu, 24 Mar 2011 23:56:14 +0000
(
00:56
+0100)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:33 +0000
(14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/stdio/_scanf.c
patch
|
blob
|
history
diff --git
a/libc/stdio/_scanf.c
b/libc/stdio/_scanf.c
index
0adb5f5
..
9aa1d52
100644
(file)
--- 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);