From 03525acc8ac5805713d393c35b2d2422221c8c0f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 13 May 2016 22:31:20 +0200 Subject: compat/shm: nix redundant cast --- opentrack-compat/shm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opentrack-compat/shm.cpp') 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 } -- cgit v1.2.3