aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2009-07-17 13:51:45 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-22 10:58:46 -0500
commitb80a55e67b90a87646c44474822a40c00b821d37 (patch)
treeed048efd6e66bea4595894129bde5827d94310ce /kvm-all.c
parent861bbc8052781e24bc1ecf3bbbe2c213d05ba889 (diff)
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>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 8567ac9163..961fa32d27 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -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;
}