* grub-core/term/ieee1275/serial.c (do_real_config): Fix cast to fix
compilation error on sparc64.
This commit is contained in:
parent
9e5e66d15e
commit
f695e99a75
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
||||
|
||||
Use ITC on IA64 rather than broken routine based on daytime.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue