Commit 02c2f0298a0b53ae0b8636567265b8a612c598d1
Committed by
Alexander Graf
1 parent
83582419ea
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
efi_loader: use u16* for UTF16 strings
We should be consistent in the types that we use to store Unicode strings. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
include/efi_api.h
lib/efi_loader/efi_file.c
... | ... | @@ -563,7 +563,7 @@ |
563 | 563 | if (fh->isdir) |
564 | 564 | info->attribute |= EFI_FILE_DIRECTORY; |
565 | 565 | |
566 | - ascii2unicode((u16 *)info->file_name, filename); | |
566 | + ascii2unicode(info->file_name, filename); | |
567 | 567 | } else if (!guidcmp(info_type, &efi_file_system_info_guid)) { |
568 | 568 | struct efi_file_system_info *info = buffer; |
569 | 569 | disk_partition_t part; |