git: libefivar: avoid accessing type-punned pointer

Daniel Fojt deef at crater.dragonflybsd.org
Sun Aug 30 22:45:34 PDT 2020


commit 26c7a97f67fda70d49c02d6bc456bc2606ef49de
Author: Daniel Fojt <df at neosystem.org>
Date:   Sat Aug 29 12:23:53 2020 +0200

    libefivar: avoid accessing type-punned pointer
    
    Fix -Werror=strict-aliasing in Strtoi64() macro exposed when building
    world with -O2.

Summary of changes:
 lib/libefivar/uefi-dplib.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/26c7a97f67fda70d49c02d6bc456bc2606ef49de


-- 
DragonFly BSD source repository



More information about the Commits mailing list