From fe4d8f67eef57df9cf3ed9d6a855408af35c7080 Mon Sep 17 00:00:00 2001 From: ths Date: Sun, 16 Sep 2007 19:53:43 +0000 Subject: [PATCH] Use UINT64_MAX instead of ULONG_LONG_MAX, suggested by Andreas Schwab. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3171 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vl.c b/vl.c index 7313f77..5f7779a 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]) -- 1.7.9.5