diff options
Diffstat (limited to 'nxcompshad')
-rw-r--r-- | nxcompshad/src/X11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nxcompshad/src/X11.cpp b/nxcompshad/src/X11.cpp index 3031bde37..8c5dbd5f6 100644 --- a/nxcompshad/src/X11.cpp +++ b/nxcompshad/src/X11.cpp @@ -363,7 +363,7 @@ void Poller::shmInit(void) shminfo_ -> shmaddr = (char *)shmat(shminfo_ -> shmid, 0, 0); - if (shminfo_ -> shmaddr < 0) + if (shminfo_ -> shmaddr < (void *)0) { logWarning("Poller::shmInit", "Couldn't attach to shm segment."); } |