projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d9574
)
bios_emulator: Fix cast for 64-bit compilation
author
Simon Glass
<sjg@chromium.org>
Mon, 26 Sep 2016 03:33:06 +0000
(21:33 -0600)
committer
Bin Meng
<bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000
(11:55 +0800)
Fix a cast that causes warnings on 64-bit machines.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/bios_emulator/atibios.c
patch
|
blob
|
history
diff --git
a/drivers/bios_emulator/atibios.c
b/drivers/bios_emulator/atibios.c
index 77172467b2e18141c7f88b786f026ec6a084d7cf..2d5b5dc562e06473ce6d19baeba44c90698b98d1 100644
(file)
--- 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 &&
- (u
32
)(vga_info->BIOSImage) != 0xc0000)
+ (u
long
)(vga_info->BIOSImage) != 0xc0000)
free(vga_info->BIOSImage);
free(vga_info);
vga_info = NULL;