aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-16 19:53:43 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-16 19:53:43 +0000
commitfe4d8f67eef57df9cf3ed9d6a855408af35c7080 (patch)
tree0c02f2bf36ee31f72ca3b6586bfd1d07c638a3d8
parent3257d2b64f9df45ef7cbe85282da404584a06dfc (diff)
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
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
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])