aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/nano-vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/nano-vfprintf.c')
-rw-r--r--newlib/libc/stdio/nano-vfprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/nano-vfprintf.c b/newlib/libc/stdio/nano-vfprintf.c
index df20783..e87f374 100644
--- a/newlib/libc/stdio/nano-vfprintf.c
+++ b/newlib/libc/stdio/nano-vfprintf.c
@@ -239,7 +239,7 @@ _DEFUN(__ssputs_r, (ptr, fp, buf, len),
if (len < w)
w = len;
- (void)memmove ((_PTR) fp->_p, (_PTR) buf, (size_t) (w));
+ (void)memmove ((void *) fp->_p, (void *) buf, (size_t) (w));
fp->_w -= w;
fp->_p += w;
return 0;
@@ -331,7 +331,7 @@ _DEFUN(__ssprint_r, (ptr, fp, uio),
if (len < w)
w = len;
- (void)memmove ((_PTR) fp->_p, (_PTR) p, (size_t) (w));
+ (void)memmove ((void *) fp->_p, (void *) p, (size_t) (w));
fp->_w -= w;
fp->_p += w;
/* Pretend we copied all. */