aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-10-19 17:36:24 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-11-05 12:51:38 +0000
commit3e3335f63161ce93b1b6c556a68d20ffc3527964 (patch)
treef1f1d469e88200be87407dbe720ddc617136b19e /com32/lib/sys/vesa
parent1e095d3e8e81efa9831047816fb0e3a26cb00c36 (diff)
downloadsyslinux-3e3335f63161ce93b1b6c556a68d20ffc3527964.tar.gz
syslinux-3e3335f63161ce93b1b6c556a68d20ffc3527964.tar.xz
syslinux-3e3335f63161ce93b1b6c556a68d20ffc3527964.zip
i915resolution.c: cast to 64-bit sized ptr
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/lib/sys/vesa')
-rw-r--r--com32/lib/sys/vesa/efi/i915resolution.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/sys/vesa/efi/i915resolution.c b/com32/lib/sys/vesa/efi/i915resolution.c
index 6ebb04d3..ac66175f 100644
--- a/com32/lib/sys/vesa/efi/i915resolution.c
+++ b/com32/lib/sys/vesa/efi/i915resolution.c
@@ -443,7 +443,7 @@ static vbios_map * open_vbios(void)
}
else {
debug("Unable to determine bios type.\r\n");
- debug("Mode Table Offset: $C0000 + $%x\r\n", ((unsigned int)map->mode_table) - ((unsigned int)map->bios_ptr));
+ debug("Mode Table Offset: $C0000 + $%x\r\n", ((unsigned long)map->mode_table) - ((unsigned long)map->bios_ptr));
debug("Mode Table Entries: %u\r\n", map->mode_table_size);
bad_marker(0x15);
return NULL;