[syslinux:firmware] i915resolution.c: cast to 64-bit sized ptr

syslinux-bot for Matt Fleming matt.fleming at intel.com
Fri Nov 9 09:06:33 PST 2012


Commit-ID:  3e3335f63161ce93b1b6c556a68d20ffc3527964
Gitweb:     http://www.syslinux.org/commit/3e3335f63161ce93b1b6c556a68d20ffc3527964
Author:     Matt Fleming <matt.fleming at intel.com>
AuthorDate: Fri, 19 Oct 2012 17:36:24 +0100
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Mon, 5 Nov 2012 12:51:38 +0000

i915resolution.c: cast to 64-bit sized ptr

Signed-off-by: Matt Fleming <matt.fleming at intel.com>

---
 com32/lib/sys/vesa/efi/i915resolution.c |    2 +-
 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 6ebb04d..ac66175 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;


More information about the Syslinux-commits mailing list