Systemd/src/boot
Lennart Poettering 33de6b57a8 efi: explicitly cast physical address to UINTN when converting to/from pointers
UINTN is the integer type equalling the native ptr size. Let's fix the
casting warnings described in #7788 by casting the the pointers and
values to this type first. That way we cast integers to the right size
first before turning them into pointers, and pointers are first
covnerted to integers of the right size before converting them into
integers.

Not tested, since I lack i386 EFI systems, but I think this is simple
enough to be correct event without testing.

Fixes: #7788
2018-05-31 16:10:46 +02:00
..
efi efi: explicitly cast physical address to UINTN when converting to/from pointers 2018-05-31 16:10:46 +02:00
bootctl.c tree-wide: avoid assignment of r just to use in a comparison 2018-04-24 14:10:27 +02:00