projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59fdb01
)
Avoid compiler warning.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 3 Jul 2008 21:36:35 +0000
(21:36 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 3 Jul 2008 21:36:35 +0000
(21:36 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4844
c046a42c
-6fe2-441c-8c8c-
71466251a162
cpu-all.h
patch
|
blob
|
history
diff --git
a/cpu-all.h
b/cpu-all.h
index 0b19ac9e33b8ecd6fd3febc75a33d99f33114fe2..d350b30682332c3f1608df64ba2ea7fdf44a7e21 100644
(file)
--- a/
cpu-all.h
+++ b/
cpu-all.h
@@
-667,7
+667,7
@@
static inline void stfq_be_p(void *ptr, float64 v)
/* All direct uses of g2h and h2g need to go away for usermode softmmu. */
#define g2h(x) ((void *)((unsigned long)(x) + GUEST_BASE))
-#define h2g(x) ((target_ulong)(
x
- GUEST_BASE))
+#define h2g(x) ((target_ulong)(
(unsigned long)(x)
- GUEST_BASE))
#define saddr(x) g2h(x)
#define laddr(x) g2h(x)