use unsigned long long int to prevent OS memory optimisation :3

This commit is contained in:
ari melody 2024-02-12 02:18:29 +00:00
parent a258b4bbea
commit aeb84dc19a
Signed by: ari
GPG key ID: CF99829C92678188

3
main.c
View file

@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
int main() {
@ -33,7 +34,7 @@ int main() {
unsigned long long int* wtf = (unsigned long long int*) malloc(size);
for (unsigned long long int i = 0; i < size / sizeof(long long int); i++) {
wtf[i] = 0x80085;
wtf[i] = ULLONG_MAX;
if (i > 0 && i % (1024 * 1024 * 1024 / sizeof(long long int)) == 0) {
printf(".");
fflush(stdout);