aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 7313f77e0e..5f7779af29 100644
--- a/vl.c
+++ b/vl.c
@@ -1176,7 +1176,7 @@ static void host_alarm_handler(int host_signum)
static uint64_t qemu_next_deadline(void)
{
- int64_t nearest_delta_us = ULONG_LONG_MAX;
+ int64_t nearest_delta_us = UINT64_MAX;
int64_t vmdelta_us;
if (active_timers[QEMU_TIMER_REALTIME])