about summary refs log tree commit diff
path: root/sysdeps/unix/bsd/tcsendbrk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/tcsendbrk.c')
-rw-r--r--sysdeps/unix/bsd/tcsendbrk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/bsd/tcsendbrk.c b/sysdeps/unix/bsd/tcsendbrk.c
index 8e63163af1..55175dc88a 100644
--- a/sysdeps/unix/bsd/tcsendbrk.c
+++ b/sysdeps/unix/bsd/tcsendbrk.c
@@ -44,7 +44,7 @@ tcsendbreak (fd, duration)
   delay.tv_usec = duration;
 
   /* Starting sending break.  */
-  if (__ioctl (fd, TIOCSBRK, (PTR) NULL) < 0)
+  if (__ioctl (fd, TIOCSBRK, (void *) NULL) < 0)
     return -1;
 
   /* Wait DURATION microseconds.  */
@@ -52,5 +52,5 @@ tcsendbreak (fd, duration)
 		   &delay);
 
   /* Turn off the break.  */
-  return __ioctl (fd, TIOCCBRK, (PTR) NULL);
+  return __ioctl (fd, TIOCCBRK, (void *) NULL);
 }