mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/term/ieee1275/serial.c (do_real_config): Fix cast to fix
compilation error on sparc64.
This commit is contained in:
1 parent
9e5e66d15e
commit
f695e99a75
2 files changed
+6
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user