diff --git a/userland/gcc/busy_loop.c b/userland/gcc/busy_loop.c index e5862c8..25c0a1f 100644 --- a/userland/gcc/busy_loop.c +++ b/userland/gcc/busy_loop.c @@ -8,8 +8,8 @@ void __attribute__ ((noinline)) busy_loop( unsigned long long max, unsigned long long max2 ) { - for (unsigned i = 0; i < max; i++) { - for (unsigned j = 0; j < max2; j++) { + for (unsigned long long i = 0; i < max; i++) { + for (unsigned long long j = 0; j < max2; j++) { __asm__ __volatile__ ("" : "+g" (j), "+g" (j) : :); } }