aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 3074d93c2e..d6f7e8d787 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])