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
/
vswprintf.c
diff --git
a/src/stdio/vswprintf.c
b/src/stdio/vswprintf.c
index
31ea187
..
2d9f200
100644
(file)
--- a/
src/stdio/vswprintf.c
+++ b/
src/stdio/vswprintf.c
@@
-10,7
+10,7
@@
static size_t sw_write(FILE *f, const unsigned char *s, size_t l)
size_t l0 = l;
int i = 0;
struct cookie *c = f->cookie;
- while (c->l && l && (i=mbtowc(c->ws, s, l))>=0) {
+ while (c->l && l && (i=mbtowc(c->ws,
(void *)
s, l))>=0) {
s+=i;
l-=i;
c->l--;