Commit 606b41e7020db7634fe90d069d2c019770c74b45
1 parent
44486a89
Build fix for older GCCs.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3155 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
vl.c
... | ... | @@ -1172,7 +1172,7 @@ static void host_alarm_handler(int host_signum) |
1172 | 1172 | |
1173 | 1173 | static uint64_t qemu_next_deadline(void) |
1174 | 1174 | { |
1175 | - int64_t nearest_delta_us = ULLONG_MAX; | |
1175 | + int64_t nearest_delta_us = ULONG_LONG_MAX; | |
1176 | 1176 | int64_t vmdelta_us; |
1177 | 1177 | |
1178 | 1178 | if (active_timers[QEMU_TIMER_REALTIME]) | ... | ... |