On Thu, Jul 3, 2008 at 11:36 PM, Thiemo Seufer wrote: > Revision: 4844 [...] > -#define h2g(x) ((target_ulong)(x - GUEST_BASE)) > +#define h2g(x) ((target_ulong)((unsigned long)(x) - GUEST_BASE)) What about getting rid of explicit casts when using h2g? Laurent