diff options
Diffstat (limited to 'src/demorec.c')
-rw-r--r-- | src/demorec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demorec.c b/src/demorec.c index 448e92d..a7e0486 100644 --- a/src/demorec.c +++ b/src/demorec.c @@ -234,7 +234,7 @@ bool demorec_init(void) { void **vtable = *(void ***)demorecorder; // XXX: 16 is totally arbitrary here! figure out proper bounds later - if (!os_mprot(vtable, 16 * sizeof(void *), PAGE_EXECUTE_READWRITE)) { + if (!os_mprot(vtable, 16 * sizeof(void *), PAGE_READWRITE)) { #ifdef _WIN32 char err[128]; OS_WINDOWS_ERROR(err); |