* grub-core/term/ieee1275/serial.c (do_real_config): Fix cast to fix

compilation error on sparc64.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-09 10:55:02 +02:00
parent 9e5e66d15e
commit f695e99a75
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-06-09 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/ieee1275/serial.c (do_real_config): Fix cast to fix
compilation error on sparc64.
2012-06-09 Vladimir Serbinenko <phcoder@gmail.com> 2012-06-09 Vladimir Serbinenko <phcoder@gmail.com>
Use ITC on IA64 rather than broken routine based on daytime. Use ITC on IA64 rather than broken routine based on daytime.

View file

@ -42,7 +42,7 @@ do_real_config (struct grub_serial_port *port)
return; return;
if (grub_ieee1275_open (port->elem->devpath, &port->handle) 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->handle = IEEE1275_IHANDLE_INVALID;
port->configured = 1; port->configured = 1;