Re: [U-Boot] [PATCH 03/82] bios_emulator: Fix cast for 64-bit compilation
On Tue, Oct 11, 2016 at 11:15 AM, Bin Mengwrote: > On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote: >> Fix a cast that causes warnings on 64-bit machines. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/bios_emulator/atibios.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> > > Reviewed-by: Bin Meng applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 03/82] bios_emulator: Fix cast for 64-bit compilation
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glasswrote: > Fix a cast that causes warnings on 64-bit machines. > > Signed-off-by: Simon Glass > --- > > drivers/bios_emulator/atibios.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 03/82] bios_emulator: Fix cast for 64-bit compilation
Fix a cast that causes warnings on 64-bit machines. Signed-off-by: Simon Glass--- drivers/bios_emulator/atibios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bios_emulator/atibios.c b/drivers/bios_emulator/atibios.c index 7717246..2d5b5dc 100644 --- a/drivers/bios_emulator/atibios.c +++ b/drivers/bios_emulator/atibios.c @@ -599,7 +599,7 @@ int biosemu_run(pci_dev_t pcidev, uchar *bios_rom, int bios_len, if (clean_up) { BE_exit(); if (vga_info->BIOSImage && - (u32)(vga_info->BIOSImage) != 0xc) + (ulong)(vga_info->BIOSImage) != 0xc) free(vga_info->BIOSImage); free(vga_info); vga_info = NULL; -- 2.8.0.rc3.226.g39d4020 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot