From d3d805ffb3e859c1fa85865345c5adc557326c2d Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 26 Aug 2021 15:58:34 +0100 Subject: [PATCH] Fix typo --- src/common_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common_memory.cpp b/src/common_memory.cpp index cda3cc002..ffdc9118a 100644 --- a/src/common_memory.cpp +++ b/src/common_memory.cpp @@ -184,7 +184,7 @@ void platform_virtual_memory_protect(void *memory, isize size); } void platform_virtual_memory_protect(void *memory, isize size) { int err = mprotect(memory, size, PROT_NONE); - GB_ASSERT(err != 0); + GB_ASSERT(err == 0); } #endif