mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Cast error message in efi_main.c to CHAR16* to avoid build error
This commit is contained in:
parent
974df0a915
commit
122229de87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342055
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user