diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-01-31 11:21:11 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-01-31 11:59:34 +0100 |
commit | efda8aebcb0e3731ba56fa11499f318a50ea4e30 (patch) | |
tree | 3a80e68579bcb37a1bb06aa3a43c29eb4e6162f9 /src/boot/efi/stub.c | |
parent | sd-boot: fix warning about comparison is always true (diff) | |
download | systemd-efda8aebcb0e3731ba56fa11499f318a50ea4e30.tar.xz systemd-efda8aebcb0e3731ba56fa11499f318a50ea4e30.zip |
sd-boot: fix -Wpointer-sign warning
Diffstat (limited to '')
-rw-r--r-- | src/boot/efi/stub.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/boot/efi/stub.c b/src/boot/efi/stub.c index 6a10cafff0..02aab1ec7f 100644 --- a/src/boot/efi/stub.c +++ b/src/boot/efi/stub.c @@ -22,10 +22,10 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) { UINTN size; BOOLEAN secure = FALSE; CHAR8 *sections[] = { - (UINT8 *)".cmdline", - (UINT8 *)".linux", - (UINT8 *)".initrd", - (UINT8 *)".splash", + (CHAR8 *)".cmdline", + (CHAR8 *)".linux", + (CHAR8 *)".initrd", + (CHAR8 *)".splash", NULL }; UINTN addrs[ELEMENTSOF(sections)-1] = {}; |