| Index: ipc.cc
|
| ===================================================================
|
| --- ipc.cc (revision 168)
|
| +++ ipc.cc (working copy)
|
| @@ -105,7 +105,8 @@
|
|
|
| info->mem->shmId = -1;
|
| SecureMem::sendSystemCall(*info, SecureMem::SEND_UNLOCKED, shmat_req.shmid,
|
| - shmat_req.shmaddr, shmat_req.shmflg);
|
| + const_cast<void*>(shmat_req.shmaddr),
|
| + shmat_req.shmflg);
|
| return true;
|
| }
|
|
|
| @@ -153,7 +154,8 @@
|
| }
|
|
|
| info->mem->shmId = -1;
|
| - SecureMem::sendSystemCall(*info, SecureMem::SEND_UNLOCKED, shmdt_req.shmaddr);
|
| + SecureMem::sendSystemCall(*info, SecureMem::SEND_UNLOCKED,
|
| + const_cast<void*>(shmdt_req.shmaddr));
|
| return true;
|
| }
|
|
|
|
|