projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add file actions support to posix_spawn
[musl]
/
src
/
stdio
/
fputws.c
diff --git
a/src/stdio/fputws.c
b/src/stdio/fputws.c
index
9057853
..
b75f95b
100644
(file)
--- a/
src/stdio/fputws.c
+++ b/
src/stdio/fputws.c
@@
-9,7
+9,7
@@
int fputws(const wchar_t *ws, FILE *f)
f->mode |= f->mode+1;
- while (ws && (l = wcsrtombs(buf, (void*)&ws, sizeof buf, 0))+1 > 1)
+ while (ws && (l = wcsrtombs(
(void *)
buf, (void*)&ws, sizeof buf, 0))+1 > 1)
if (__fwritex(buf, l, f) < l) {
FUNLOCK(f);
return -1;