diff options
Diffstat (limited to 'newlib/libc/stdio/vasprintf.c')
-rw-r--r-- | newlib/libc/stdio/vasprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/vasprintf.c b/newlib/libc/stdio/vasprintf.c index b89f4db..fbb54cb 100644 --- a/newlib/libc/stdio/vasprintf.c +++ b/newlib/libc/stdio/vasprintf.c @@ -59,7 +59,7 @@ _DEFUN(_vasprintf_r, (ptr, strp, fmt, ap), if (ret >= 0) { *f._p = 0; - *strp = f._bf._base; + *strp = (char *) f._bf._base; } return ret; } |