提交 49a9b725 编写于 作者: B balrog

(int64_t)UINT64_MAX is -1 and should not be assigned to nearest_delta_us, patch by Dan Kenigsberg.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3325 c046a42c-6fe2-441c-8c8c-71466251a162
上级 2b76bdc9
......@@ -1181,7 +1181,7 @@ static void host_alarm_handler(int host_signum)
static uint64_t qemu_next_deadline(void)
{
int64_t nearest_delta_us = UINT64_MAX;
int64_t nearest_delta_us = INT64_MAX;
int64_t vmdelta_us;
if (active_timers[QEMU_TIMER_REALTIME])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册