Commit b80a55e67b90a87646c44474822a40c00b821d37
Committed by
Anthony Liguori
1 parent
861bbc80
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>
Showing
1 changed file
with
1 additions
and
1 deletions
kvm-all.c
... | ... | @@ -226,7 +226,7 @@ static int kvm_dirty_pages_log_change(target_phys_addr_t phys_addr, |
226 | 226 | if (mem == NULL) { |
227 | 227 | fprintf(stderr, "BUG: %s: invalid parameters " TARGET_FMT_plx "-" |
228 | 228 | TARGET_FMT_plx "\n", __func__, phys_addr, |
229 | - phys_addr + size - 1); | |
229 | + (target_phys_addr_t)(phys_addr + size - 1)); | |
230 | 230 | return -EINVAL; |
231 | 231 | } |
232 | 232 | ... | ... |