projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d880d
)
fixed missing cast in the non-i386 version of shmat (preparation for ports)
author
Rich Felker
<dalias@aerifal.cx>
Mon, 14 Feb 2011 04:26:51 +0000
(23:26 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 14 Feb 2011 04:26:51 +0000
(23:26 -0500)
src/ipc/shmat.c
patch
|
blob
|
history
diff --git
a/src/ipc/shmat.c
b/src/ipc/shmat.c
index ff65b6a49c4a47129669e3f91bfeb67a0fd52de1..98a2cd4288b31964817000527e00c43c6ca43118 100644
(file)
--- a/
src/ipc/shmat.c
+++ b/
src/ipc/shmat.c
@@
-5,7
+5,7
@@
#ifdef __NR_shmat
void *shmat(int id, const void *addr, int flag)
{
- return syscall3(__NR_shmat, id, (long)addr, flag);
+ return
(void *)
syscall3(__NR_shmat, id, (long)addr, flag);
}
#else
void *shmat(int id, const void *addr, int flag)