Re: [Qemu-devel] [PATCH] pseries: Fix compiler warning (conversion of pointer to integral value)

2013-06-20 Thread Alexander Graf
Am 20.06.2013 um 07:10 schrieb Michael Tokarev : > 20.06.2013 01:40, Alexander Graf wrote: >> >> On 19.06.2013, at 23:08, Stefan Weil wrote: >> >>> This kind of type cast must use uintptr_t or target_ulong to be portable >>> for hosts with sizeof(void *) != sizeof(long). >>> >>> Here the valu

Re: [Qemu-devel] [PATCH] pseries: Fix compiler warning (conversion of pointer to integral value)

2013-06-19 Thread Michael Tokarev
20.06.2013 01:40, Alexander Graf wrote: > > On 19.06.2013, at 23:08, Stefan Weil wrote: > >> This kind of type cast must use uintptr_t or target_ulong to be portable >> for hosts with sizeof(void *) != sizeof(long). >> >> Here the value is assigned to a variable of type target_ulong. >> >> Signed

Re: [Qemu-devel] [PATCH] pseries: Fix compiler warning (conversion of pointer to integral value)

2013-06-19 Thread Stefan Weil
Am 19.06.2013 23:40, schrieb Alexander Graf: > On 19.06.2013, at 23:08, Stefan Weil wrote: > >> This kind of type cast must use uintptr_t or target_ulong to be portable >> for hosts with sizeof(void *) != sizeof(long). >> >> Here the value is assigned to a variable of type target_ulong. >> >> Signe

Re: [Qemu-devel] [PATCH] pseries: Fix compiler warning (conversion of pointer to integral value)

2013-06-19 Thread Alexander Graf
On 19.06.2013, at 23:08, Stefan Weil wrote: > This kind of type cast must use uintptr_t or target_ulong to be portable > for hosts with sizeof(void *) != sizeof(long). > > Here the value is assigned to a variable of type target_ulong. > > Signed-off-by: Stefan Weil Acked-by: Alexander Graf

[Qemu-devel] [PATCH] pseries: Fix compiler warning (conversion of pointer to integral value)

2013-06-19 Thread Stefan Weil
This kind of type cast must use uintptr_t or target_ulong to be portable for hosts with sizeof(void *) != sizeof(long). Here the value is assigned to a variable of type target_ulong. Signed-off-by: Stefan Weil --- hw/ppc/spapr.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g