sim-card
/
qemu
Archived
10
0
Fork 0

Fix warning in kvm-all.c

This fixes a warning I stumbled across while compiling qemu on PPC64.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Alexander Graf 2009-07-17 13:51:45 +02:00 committed by Anthony Liguori
parent 861bbc8052
commit b80a55e67b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}