Fix compilation warnings
This commit is contained in:
1 parent
58c0dbe275
commit
027a6d9a18
6 files changed
+15
-9
No files matched your search
+1
-1
@@ -89,7 +89,7 @@ _retry:
|
||||
}
|
||||
|
||||
pool = shmat(shmid, NULL, 0);
|
||||
if (((int)pool) == -1) {
|
||||
if (pool == (void *)-1) {
|
||||
perror("shmat");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user