net/colo-compare.c: Fix compare_timeout format issue
authorZhang Chen <chen.zhang@intel.com>
Fri, 16 Oct 2020 05:52:05 +0000 (13:52 +0800)
committerJason Wang <jasowang@redhat.com>
Wed, 11 Nov 2020 08:52:23 +0000 (16:52 +0800)
commit0c4266ef2690312512512ad6f4e44b5ac1d44c0c
tree7524eb8ffa40222c0db45c40bc21c5069b0500b8
parent45b9e8c33a844c80d6067a3271652af5654ba7bd
net/colo-compare.c: Fix compare_timeout format issue

This parameter need compare with the return of qemu_clock_get_ms(),
it is uint64_t. So we need fix this issue here.

Fixes: 9cc43c94b31 ("net/colo-compare.c: Expose "compare_timeout" to users")

Reported-by: Derek Su <dereksu@qnap.com>
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/colo-compare.c