]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Build fix for older GCCs.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Aug 2007 22:21:40 +0000 (22:21 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Aug 2007 22:21:40 +0000 (22:21 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3155 c046a42c-6fe2-441c-8c8c-71466251a162

vl.c

diff --git a/vl.c b/vl.c
index 3074d93c2e0804c5862d0c676b017c8b9faa43dd..d6f7e8d7878bc41d3b48f50b6f768a22a2f5262d 100644 (file)
--- 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])