summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/shm.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-13 22:31:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-13 22:31:20 +0200
commit03525acc8ac5805713d393c35b2d2422221c8c0f (patch)
treed91c23cccd3c2d2d4c86474d9a842fec3db51665 /opentrack-compat/shm.cpp
parentb819b1727899488bb46ad4b17468c9d4ae59ec2e (diff)
compat/shm: nix redundant cast
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
}