Re: [Qemu-devel] [PATCH] smbios: fixed compiler warning on clang > 3.4

2014-11-03 Thread SeokYeon Hwang
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Tuesday, November 04, 2014 1:16 AM > To: SeokYeon Hwang; qemu-devel@nongnu.org > Cc: arm...@redhat.com; alex.william...@hp.com > Subject: Re: [PATCH] smbios: fixed compiler warni

Re: [Qemu-devel] [PATCH] smbios: fixed compiler warning on clang > 3.4

2014-11-03 Thread Paolo Bonzini
On 31/10/2014 05:57, SeokYeon Hwang wrote: > Explicit casting to 'ram_addr_t' in order to avoid "-Wconstant-conversion" on > clang 3.4 or later. > > Signed-off-by: SeokYeon Hwang > --- > hw/i386/smbios.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/i386/smbios.c

[Qemu-devel] [PATCH] smbios: fixed compiler warning on clang > 3.4

2014-10-31 Thread SeokYeon Hwang
Explicit casting to 'ram_addr_t' in order to avoid "-Wconstant-conversion" on clang 3.4 or later. Signed-off-by: SeokYeon Hwang --- hw/i386/smbios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/smbios.c b/hw/i386/smbios.c index e3fa1b2..ace9c44 100644 --- a/hw/i38