diff options
author | Alexander Graf <agraf@suse.de> | 2009-07-17 13:51:45 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-22 10:58:46 -0500 |
commit | b80a55e67b90a87646c44474822a40c00b821d37 (patch) | |
tree | ed048efd6e66bea4595894129bde5827d94310ce /kvm-all.c | |
parent | 861bbc8052781e24bc1ecf3bbbe2c213d05ba889 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |