summaryrefslogtreecommitdiffstats
path: root/drivers/bios_emulator/besys.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-18 16:36:27 +0100
committerWolfgang Denk <wd@denx.de>2007-11-18 16:36:27 +0100
commit409ecdc0bb47dd28b0af6c25ffd658d22cc36b37 (patch)
tree3216a241047e1e3edf63aa56f6f28bd3c1542f84 /drivers/bios_emulator/besys.c
parent079c2c4fa71c0d1ebef394508df9088df8a308d3 (diff)
downloadtalos-obmc-uboot-409ecdc0bb47dd28b0af6c25ffd658d22cc36b37.tar.gz
talos-obmc-uboot-409ecdc0bb47dd28b0af6c25ffd658d22cc36b37.zip
Fix compiler warnings for PPC systems. Update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/bios_emulator/besys.c')
-rw-r--r--drivers/bios_emulator/besys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c
index 8f1d8b29d5..cb1b0c1b95 100644
--- a/drivers/bios_emulator/besys.c
+++ b/drivers/bios_emulator/besys.c
@@ -96,7 +96,7 @@ static u8 *BE_memaddr(u32 addr)
else if (addr >= 0xFFFF5 && addr < 0xFFFFE) {
/* Return a faked BIOS date string for non-x86 machines */
DB(printf("BE_memaddr - Returning BIOS date\n");)
- return BE_biosDate + addr - 0xFFFF5;
+ return (u8 *)(BE_biosDate + addr - 0xFFFF5);
} else if (addr == 0xFFFFE) {
/* Return system model identifier for non-x86 machines */
DB(printf("BE_memaddr - Returning model\n");)
OpenPOWER on IntegriCloud