summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/asiprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/asiprintf.c')
-rw-r--r--newlib/libc/stdio/asiprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/asiprintf.c b/newlib/libc/stdio/asiprintf.c
index 97474fd1a..0c363d5ea 100644
--- a/newlib/libc/stdio/asiprintf.c
+++ b/newlib/libc/stdio/asiprintf.c
@@ -45,7 +45,7 @@ _DEFUN(_asiprintf_r, (ptr, strp, fmt),
if (ret >= 0)
{
*f._p = 0;
- *strp = f._bf._base;
+ *strp = (char *) f._bf._base;
}
return (ret);
}
@@ -72,7 +72,7 @@ _DEFUN(asiprintf, (strp, fmt),
if (ret >= 0)
{
*f._p = 0;
- *strp = f._bf._base;
+ *strp = (char *) f._bf._base;
}
return (ret);
}