diff options
-rw-r--r-- | payloads/libpayload/i386/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/i386/timer.c b/payloads/libpayload/i386/timer.c index e1a886e302..3d8607b3cb 100644 --- a/payloads/libpayload/i386/timer.c +++ b/payloads/libpayload/i386/timer.c @@ -75,7 +75,7 @@ unsigned int get_cpu_speed(void) return cpu_khz; } -static inline void _delay(unsigned int delta) +static inline void _delay(unsigned long long delta) { unsigned long long timeout = rdtsc() + delta; while (rdtsc() < timeout) ; |