From: Rich Felker Date: Mon, 14 Feb 2011 04:26:51 +0000 (-0500) Subject: fixed missing cast in the non-i386 version of shmat (preparation for ports) X-Git-Tag: v0.5.9~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a130d33cad10546dd6b9bc2be71b0e3f5b0cf06b;p=oweals%2Fmusl.git fixed missing cast in the non-i386 version of shmat (preparation for ports) --- diff --git a/src/ipc/shmat.c b/src/ipc/shmat.c index ff65b6a4..98a2cd42 100644 --- 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)