projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix all implicit conversion between signed/unsigned pointers
[musl]
/
src
/
stdio
/
ungetwc.c
diff --git
a/src/stdio/ungetwc.c
b/src/stdio/ungetwc.c
index
f7cde2e
..
6871d03
100644
(file)
--- a/
src/stdio/ungetwc.c
+++ b/
src/stdio/ungetwc.c
@@
-8,7
+8,7
@@
wint_t ungetwc(wint_t c, FILE *f)
if (c == WEOF) return c;
/* Try conversion early so we can fail without locking if invalid */
- if (!isascii(c) && (l = wctomb(mbc, c)) < 0)
+ if (!isascii(c) && (l = wctomb(
(void *)
mbc, c)) < 0)
return WEOF;
FLOCK(f);