Cast error message in efi_main.c to CHAR16* to avoid build error

This commit is contained in:
Rebecca Cran 2018-12-13 23:49:20 +00:00
parent 974df0a915
commit 122229de87
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342055

View file

@ -95,7 +95,7 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table)
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
EFI_SIZE_TO_PAGES(heapsize), &heap);
if (status != EFI_SUCCESS) {
ST->ConOut->OutputString(ST->ConOut, L"Failed to allocate memory for heap.\r\n");
ST->ConOut->OutputString(ST->ConOut, (CHAR16 *)L"Failed to allocate memory for heap.\r\n");
BS->Exit(IH, status, 0, NULL);
}