about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/msgsnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/msgsnd.c')
-rw-r--r--sysdeps/unix/sysv/linux/msgsnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/msgsnd.c b/sysdeps/unix/sysv/linux/msgsnd.c
index a068556496..13cc1f979e 100644
--- a/sysdeps/unix/sysv/linux/msgsnd.c
+++ b/sysdeps/unix/sysv/linux/msgsnd.c
@@ -34,5 +34,5 @@ msgsnd (msqid, msgp, msgsz, msgflg)
      int msgflg;
 {
   return INLINE_SYSCALL (ipc, 5, IPCOP_msgsnd, msqid, msgsz,
-			 msgflg, CHECK_N (msgp, msgsz));
+			 msgflg, (void *) CHECK_N (msgp, msgsz));
 }