mirror of
https://github.com/fluencelabs/musl
synced 2025-06-12 14:31:37 +00:00
fixed missing cast in the non-i386 version of shmat (preparation for ports)
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
#ifdef __NR_shmat
|
#ifdef __NR_shmat
|
||||||
void *shmat(int id, const void *addr, int flag)
|
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
|
#else
|
||||||
void *shmat(int id, const void *addr, int flag)
|
void *shmat(int id, const void *addr, int flag)
|
||||||
|
Reference in New Issue
Block a user