From: Andreas Reichel <
andreas.r...@siemens.com>
The interface is defined in gnu-efi 3.0.4 whereas the protocol
is not.
This way it works with both 3.0.4 and the newer version.
Signed-off-by: Andreas Reichel <
andreas.r...@siemens.com>
---
utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils.c b/utils.c
index d74cc7c..7079852 100644
--- a/utils.c
+++ b/utils.c
@@ -322,6 +322,6 @@ CHAR16 *GetBootMediumPath(CHAR16 *input)
VOID Color(EFI_SYSTEM_TABLE *system_table, char fgcolor, char bgcolor)
{
- EFI_SIMPLE_TEXT_OUT_PROTOCOL *con = system_table->ConOut;
+ SIMPLE_TEXT_OUTPUT_INTERFACE *con = system_table->ConOut;
(VOID)uefi_call_wrapper(con->SetAttribute, 3, con, (bgcolor << 8) | fgcolor);
}
--
2.21.0