musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/fputws.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fputws.c')
-rw-r--r--src/stdio/fputws.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fputws.c b/src/stdio/fputws.c
index 9057853b..b75f95bc 100644
--- 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;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月26日 03:57:45 +0000

AltStyle によって変換されたページ (->オリジナル) /