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>
This commit is contained in:
parent
99ee68a014
commit
29d1bd2a96
@ -25,7 +25,7 @@
|
||||
#include <grub/i18n.h>
|
||||
#include <grub/ieee1275/console.h>
|
||||
|
||||
#define IEEE1275_IHANDLE_INVALID ((grub_ieee1275_cell_t) 0)
|
||||
#define IEEE1275_IHANDLE_INVALID ((grub_ieee1275_ihandle_t) 0)
|
||||
|
||||
struct ofserial_hash_ent
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user