projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
861bbc8
)
Fix warning in kvm-all.c
author
Alexander Graf
<agraf@suse.de>
Fri, 17 Jul 2009 11:51:45 +0000
(13:51 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 22 Jul 2009 15:58:46 +0000
(10:58 -0500)
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>
kvm-all.c
patch
|
blob
|
history
diff --git
a/kvm-all.c
b/kvm-all.c
index 8567ac91631cf13697f608780fbd7f18544199bb..961fa32d277d4a6bdb3fbf394ac32187a1052ba9 100644
(file)
--- 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;
}