diff --git a/vl.c b/vl.c index 3074d93c2e0804c5862d0c676b017c8b9faa43dd..d6f7e8d7878bc41d3b48f50b6f768a22a2f5262d 100644 --- a/vl.c +++ b/vl.c @@ -1172,7 +1172,7 @@ static void host_alarm_handler(int host_signum) static uint64_t qemu_next_deadline(void) { - int64_t nearest_delta_us = ULLONG_MAX; + int64_t nearest_delta_us = ULONG_LONG_MAX; int64_t vmdelta_us; if (active_timers[QEMU_TIMER_REALTIME])