summaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/tcflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/tcflush.c')
-rw-r--r--sysdeps/unix/bsd/tcflush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/bsd/tcflush.c b/sysdeps/unix/bsd/tcflush.c
index 14f7db8dad..9806aaf435 100644
--- a/sysdeps/unix/bsd/tcflush.c
+++ b/sysdeps/unix/bsd/tcflush.c
@@ -47,5 +47,5 @@ tcflush (fd, queue_selector)
return -1;
}
- return __ioctl (fd, TIOCFLUSH, (PTR) &arg);
+ return __ioctl (fd, TIOCFLUSH, (void *) &arg);
}