[Qemu-devel] Re: [PATCH] Avoid compiler error

2010-04-10 Thread Richard Henderson
On 04/10/2010 12:26 AM, Stefan Weil wrote: A 32 bit cross compilation of x86_64-linux-user raises this error: } else { #if TARGET_ABI_BITS<= L1_MAP_ADDR_SPACE_BITS endaddr = ~0ul; +#elif HOST_LONG_BITS<= L1_MAP_ADDR_SPACE_BITS +

[Qemu-devel] Re: [PATCH] Avoid compiler error

2010-04-10 Thread Aurelien Jarno
On Sat, Apr 10, 2010 at 09:26:03AM +0200, Stefan Weil wrote: > A 32 bit cross compilation of x86_64-linux-user raises this error: > > CCx86_64-linux-user/exec.o > cc1: warnings being treated as errors > exec.c: In function ‘page_init’: > exec.c:350: error: large integer implicitly truncated