aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vasiprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vasiprintf.c')
-rw-r--r--newlib/libc/stdio/vasiprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/vasiprintf.c b/newlib/libc/stdio/vasiprintf.c
index 15310cc..f96de0d 100644
--- a/newlib/libc/stdio/vasiprintf.c
+++ b/newlib/libc/stdio/vasiprintf.c
@@ -59,7 +59,7 @@ _DEFUN(_vasiprintf_r, (ptr, strp, fmt, ap),
if (ret >= 0)
{
*f._p = 0;
- *strp = f._bf._base;
+ *strp = (char *) f._bf._base;
}
return ret;
}