diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-07 18:34:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-07 18:34:14 +0000 |
commit | 21e41c58872fec4ea9d7b21807bcc242337b1e2c (patch) | |
tree | 6e50dae9fbd94f52c12560caee5d7a3c5c042184 /sysdeps/unix/sysv/linux/shmat.c | |
parent | d998b043aad96a5f2f8e519200b6f20289efb8bb (diff) | |
download | glibc-21e41c58872fec4ea9d7b21807bcc242337b1e2c.tar.gz glibc-21e41c58872fec4ea9d7b21807bcc242337b1e2c.tar.xz glibc-21e41c58872fec4ea9d7b21807bcc242337b1e2c.zip |
Update.
2000-09-07 Ulrich Drepper <drepper@redhat.com> * assert/__assert.c: Undefine NDEBUG before include <assert.h>. * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning. * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
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; |