diff options
author | Heinrich Schuchardt | 2018-11-05 20:22:12 +0100 |
---|---|---|
committer | Alexander Graf | 2018-12-02 21:59:37 +0100 |
commit | 02c2f0298a0b53ae0b8636567265b8a612c598d1 (patch) | |
tree | b9c4ad5dc1fc3db3d0cd33b9d1bb99170810136f /lib | |
parent | 83582419ea3653fdf3e5e5d0434f9ff5a8217149 (diff) |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efi_loader/efi_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c index beb4fba917d..128cb0a6273 100644 --- a/lib/efi_loader/efi_file.c +++ b/lib/efi_loader/efi_file.c @@ -563,7 +563,7 @@ static efi_status_t EFIAPI efi_file_getinfo(struct efi_file_handle *file, if (fh->isdir) info->attribute |= EFI_FILE_DIRECTORY; - ascii2unicode((u16 *)info->file_name, filename); + ascii2unicode(info->file_name, filename); } else if (!guidcmp(info_type, &efi_file_system_info_guid)) { struct efi_file_system_info *info = buffer; disk_partition_t part; |