diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-06-23 17:39:33 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-06-23 17:39:33 +0200 |
commit | 027a6d9a18b8767969127ffc1c4a734fec4b840b (patch) | |
tree | ea5d137bb5e15e3d818032cb4ed7798de7c33026 /src/squeue/squeue.c | |
parent | 58c0dbe2753753e2eff5e27f98453aa8a020235f (diff) | |
download | 0xFFFF-027a6d9a18b8767969127ffc1c4a734fec4b840b.tar.bz2 |
Fix compilation warnings
Diffstat (limited to 'src/squeue/squeue.c')
-rw-r--r-- | src/squeue/squeue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/squeue/squeue.c b/src/squeue/squeue.c index 96f2b59..69bd595 100644 --- a/src/squeue/squeue.c +++ b/src/squeue/squeue.c @@ -89,7 +89,7 @@ _retry: } pool = shmat(shmid, NULL, 0); - if (((int)pool) == -1) { + if (pool == (void *)-1) { perror("shmat"); return NULL; } |