From a65e9de1d016dcf958753233113560008b629aff Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 19 Sep 2013 12:40:38 +0200 Subject: compat: fix build --- compat/compat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/compat.cpp b/compat/compat.cpp index f6261738..7d9f9357 100644 --- a/compat/compat.cpp +++ b/compat/compat.cpp @@ -61,10 +61,10 @@ PortableLockedShm::PortableLockedShm(const char *shmName, const char *mutexName, mem = (void*) -1; } -PortableLockedShm::success() +bool PortableLockedShm::success() { #ifndef _WIN32 - return (void*) mem != (void*) -1 + return (void*) mem != (void*) -1; #else return (void*) mem != NULL; #endif -- cgit v1.2.3