diff --git a/common/General.h b/common/General.h index 16edec2bec..3329c0e320 100644 --- a/common/General.h +++ b/common/General.h @@ -211,7 +211,7 @@ namespace HostSys // Safe version of Munmap -- NULLs the pointer variable immediately after free'ing it. #define SafeSysMunmap(ptr, size) \ - ((void)(HostSys::Munmap((uptr)(ptr), size), (ptr) = NULL)) + ((void)(HostSys::Munmap((uptr)(ptr), size), (ptr) = 0)) extern void InitCPUTicks(); extern u64 GetTickFrequency();