summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/shm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-compat/shm.cpp')
-rw-r--r--opentrack-compat/shm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack-compat/shm.cpp b/opentrack-compat/shm.cpp
index 55aa7a41..ea589771 100644
--- a/opentrack-compat/shm.cpp
+++ b/opentrack-compat/shm.cpp
@@ -192,8 +192,8 @@ void PortableLockedShm::unlock()
bool PortableLockedShm::success()
{
#ifndef _WIN32
- return (void*) mem != (void*) -1;
+ return mem != (void*) -1;
#else
- return (void*) mem != NULL;
+ return mem != NULL;
#endif
}