mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Reduce warnings by 29%
git-svn-id: svn://coreboot.org/openbios/openbios-devel@273 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -831,7 +831,7 @@ ob_nvram_init(uint64_t base, uint64_t offset)
|
||||
|
||||
ob_new_obio_device("eeprom", NULL);
|
||||
|
||||
nvram = (char *)ob_reg(base, offset, NVRAM_SIZE, 1);
|
||||
nvram = (unsigned char *)ob_reg(base, offset, NVRAM_SIZE, 1);
|
||||
|
||||
PUSH((unsigned long)nvram);
|
||||
fword("encode-int");
|
||||
|
||||
Reference in New Issue
Block a user