Commit fe4d8f67eef57df9cf3ed9d6a855408af35c7080

Authored by ths
1 parent 3257d2b6

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
Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -1176,7 +1176,7 @@ static void host_alarm_handler(int host_signum)
1176 1176  
1177 1177 static uint64_t qemu_next_deadline(void)
1178 1178 {
1179   - int64_t nearest_delta_us = ULONG_LONG_MAX;
  1179 + int64_t nearest_delta_us = UINT64_MAX;
1180 1180 int64_t vmdelta_us;
1181 1181  
1182 1182 if (active_timers[QEMU_TIMER_REALTIME])
... ...