Author: bcran
Date: Thu Dec 13 23:49:20 2018
New Revision: 342055
URL: https://svnweb.freebsd.org/changeset/base/342055

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

Modified:
  head/stand/efi/loader/efi_main.c

Modified: head/stand/efi/loader/efi_main.c
==============================================================================
--- head/stand/efi/loader/efi_main.c    Thu Dec 13 23:20:58 2018        
(r342054)
+++ head/stand/efi/loader/efi_main.c    Thu Dec 13 23:49:20 2018        
(r342055)
@@ -95,7 +95,7 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *sy
        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);
        }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to