diff options
Diffstat (limited to 'compat/shm.cpp')
-rw-r--r-- | compat/shm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/shm.cpp b/compat/shm.cpp index 0f44d8bc..791cb303 100644 --- a/compat/shm.cpp +++ b/compat/shm.cpp @@ -10,7 +10,7 @@ #if defined _WIN32 #include <cstring> -#include <stdio.h> +#include <cstdio> #include <accctrl.h> #include <aclapi.h> @@ -131,7 +131,7 @@ bool shm_wrapper::success() #ifndef _WIN32 return mem != (void*) -1; #else - return mem != NULL; + return mem != nullptr; #endif } |