From: ths Date: Sun, 16 Sep 2007 19:53:43 +0000 (+0000) Subject: Use UINT64_MAX instead of ULONG_LONG_MAX, suggested by Andreas Schwab. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fe4d8f67eef57df9cf3ed9d6a855408af35c7080;p=qemu.git 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 --- 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])