diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/shmat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/shmat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/shmat.c b/sysdeps/unix/sysv/linux/shmat.c index dc5a848eaa..b7e9a95d10 100644 --- a/sysdeps/unix/sysv/linux/shmat.c +++ b/sysdeps/unix/sysv/linux/shmat.c @@ -48,7 +48,7 @@ shmat (shmid, shmaddr, shmflg) #endif result = (void *__unbounded) INLINE_SYSCALL (ipc, 5, IPCOP_shmat, shmid, shmflg, - __ptrvalue (&raddr), + (long int) __ptrvalue (&raddr), __ptrvalue (shmaddr)); if ((unsigned long) result <= -(unsigned long) SHMLBA) result = raddr; |