提交 b80a55e6 编写于 作者: A Alexander Graf 提交者: Anthony Liguori

Fix warning in kvm-all.c

This fixes a warning I stumbled across while compiling qemu on PPC64.
Signed-off-by: NAlexander Graf <agraf@suse.de>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 861bbc80
......@@ -226,7 +226,7 @@ static int kvm_dirty_pages_log_change(target_phys_addr_t phys_addr,
if (mem == NULL) {
fprintf(stderr, "BUG: %s: invalid parameters " TARGET_FMT_plx "-"
TARGET_FMT_plx "\n", __func__, phys_addr,
phys_addr + size - 1);
(target_phys_addr_t)(phys_addr + size - 1));
return -EINVAL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册