]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Use UINT64_MAX instead of ULONG_LONG_MAX, suggested by Andreas Schwab.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 16 Sep 2007 19:53:43 +0000 (19:53 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 16 Sep 2007 19:53:43 +0000 (19:53 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3171 c046a42c-6fe2-441c-8c8c-71466251a162

vl.c

diff --git a/vl.c b/vl.c
index 7313f77e0e6f9defea65e1b933e8269187b05003..5f7779af295c2010b0a31e2e6c1fe9a159431208 100644 (file)
--- 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])