diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-26 15:58:34 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-26 15:58:34 +0100 |
| commit | d3d805ffb3e859c1fa85865345c5adc557326c2d (patch) | |
| tree | 0436f1ac647625bfc1067c6419e831599a8ef811 | |
| parent | 05b9724c85b333b6be9b59f8ab5dc5ee0c1a34fe (diff) | |
Fix typo
| -rw-r--r-- | src/common_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |