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
This commit is contained in:
ths 2007-09-16 19:53:43 +00:00
parent 3257d2b64f
commit fe4d8f67ee

2
vl.c
View File

@ -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])