efi_loader: avoid alignment error
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 14 Jul 2019 16:51:00 +0000 (18:51 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 16 Jul 2019 22:17:22 +0000 (22:17 +0000)
commitade317a281652354cb3d86d40a8c012b32f28497
tree1ed8e7976e5ee232d56a4c67c20d57a96cba4133
parent06e921b185f4f7af0a51bb2451cd56eb6c5b26da
efi_loader: avoid alignment error

In packed structures GUIDs are not aligned. Avoid a build error with
GCC 9.1 by using const void * as argument for guidcmp().

Reported-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h