]> git.ipfire.org Git - thirdparty/grub.git/commit
term/ieee1275/serial: Cast 0 to proper type
authorStefan Berger <stefanb@linux.ibm.com>
Tue, 26 Nov 2024 20:39:41 +0000 (15:39 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 28 Nov 2024 21:11:30 +0000 (22:11 +0100)
commit29d1bd2a96948bc120cb5906188117f670797fcf
tree966817f1acee1f1e8b2b4f83e41ce8468be977be
parent99ee68a0149b1132f160c80924ab2987ebafcbdd
term/ieee1275/serial: Cast 0 to proper type

Cast 0 to proper type grub_ieee1275_ihandle_t. This type is
used for struct grub_serial_port's handle that assigns or
compares with IEEE1275_IHANDLE_INVALID.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/term/ieee1275/serial.c