Index: test/builtins/Unit/clear_cache_test.c =================================================================== --- test/builtins/Unit/clear_cache_test.c +++ test/builtins/Unit/clear_cache_test.c @@ -56,8 +56,8 @@ int main() { // make executable the page containing execution_buffer - char* start = (char*)((uintptr_t)execution_buffer & (-4095)); - char* end = (char*)((uintptr_t)(&execution_buffer[128+4096]) & (-4095)); + char* start = (char*)((uintptr_t)execution_buffer & (~4095)); + char* end = (char*)((uintptr_t)(&execution_buffer[128+4096]) & (~4095)); #if defined(_WIN32) DWORD dummy_oldProt; MEMORY_BASIC_INFORMATION b;