Merge pull request #7226 from mcoil1/pr/fix-memory_patcher
memory/patcher: fix compiler warning
Этот коммит содержится в:
Коммит
cf9a5fb06c
@ -450,7 +450,7 @@ static void *_intercept_shmat(int shmid, const void *shmaddr, int shmflg)
|
||||
|
||||
if (!original_shmat) {
|
||||
#if defined(SYS_shmat)
|
||||
result = memory_patcher_syscall(SYS_shmat, shmid, shmaddr, shmflg);
|
||||
result = (void*) memory_patcher_syscall(SYS_shmat, shmid, shmaddr, shmflg);
|
||||
#else // IPCOP_shmat
|
||||
unsigned long ret;
|
||||
ret = memory_patcher_syscall(SYS_ipc, IPCOP_shmat,
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user