From f695e99a755e79335b67eb10bad733421240c1a6 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sat, 9 Jun 2012 10:55:02 +0200 Subject: [PATCH] * grub-core/term/ieee1275/serial.c (do_real_config): Fix cast to fix compilation error on sparc64. --- ChangeLog | 5 +++++ grub-core/term/ieee1275/serial.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4c4d5336c..620d3fa41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-06-09 Vladimir Serbinenko + + * grub-core/term/ieee1275/serial.c (do_real_config): Fix cast to fix + compilation error on sparc64. + 2012-06-09 Vladimir Serbinenko Use ITC on IA64 rather than broken routine based on daytime. diff --git a/grub-core/term/ieee1275/serial.c b/grub-core/term/ieee1275/serial.c index cf4be5946..09a5a036e 100644 --- a/grub-core/term/ieee1275/serial.c +++ b/grub-core/term/ieee1275/serial.c @@ -42,7 +42,7 @@ do_real_config (struct grub_serial_port *port) return; if (grub_ieee1275_open (port->elem->devpath, &port->handle) - || port->handle == (grub_ieee1275_cell_t) -1) + || port->handle == (grub_ieee1275_ihandle_t) -1) port->handle = IEEE1275_IHANDLE_INVALID; port->configured = 1;