aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Cran <bcran@FreeBSD.org>2018-12-13 23:49:20 +0000
committerRebecca Cran <bcran@FreeBSD.org>2018-12-13 23:49:20 +0000
commit122229de87be8c2dd3cc954baceb5d2fb7202473 (patch)
tree7880070de31c2abc07f5d007195d68dc7c3adb20
parent974df0a9150289bd973ffc014d41c355edcca9ae (diff)
Cast error message in efi_main.c to CHAR16* to avoid build error
Notes
Notes: svn path=/head/; revision=342055
-rw-r--r--stand/efi/loader/efi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/efi/loader/efi_main.c b/stand/efi/loader/efi_main.c
index 2260db83b37d..d6f8daf020d3 100644
--- a/stand/efi/loader/efi_main.c
+++ b/stand/efi/loader/efi_main.c
@@ -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);
}