libefivar: avoid accessing type-punned pointer
authorDaniel Fojt <df@neosystem.org>
Sat, 29 Aug 2020 10:23:53 +0000 (12:23 +0200)
committerDaniel Fojt <df@neosystem.org>
Mon, 31 Aug 2020 05:40:08 +0000 (07:40 +0200)
commit26c7a97f67fda70d49c02d6bc456bc2606ef49de
tree309d535c58fe9414a1e1d2074e88e6e605550dae
parent926ea7d70a29c7feb20ceda5c70ca1ab4a173250
libefivar: avoid accessing type-punned pointer

Fix -Werror=strict-aliasing in Strtoi64() macro exposed when building
world with -O2.
lib/libefivar/uefi-dplib.h