compile for 32-bit as well

This commit is contained in:
daanx 2024-12-06 23:07:10 -08:00
parent 659a9dd51d
commit bf9a2ddb59
5 changed files with 18 additions and 15 deletions

View file

@ -382,7 +382,7 @@ static void test_mt_shutdown()
// issue #372
static void fail_aslr() {
size_t sz = (4ULL << 40); // 4TiB
uint64_t sz = (4ULL << 40); // 4TiB
void* p = malloc(sz);
printf("pointer p: %p: area up to %p\n", p, (uint8_t*)p + sz);
*(int*)0x5FFFFFFF000 = 0; // should segfault

View file

@ -40,7 +40,7 @@ static int ITER = 20;
static int THREADS = 8;
static int SCALE = 10;
static int ITER = 10;
#elif 1
#elif 0
static int THREADS = 4;
static int SCALE = 100;
static int ITER = 10;