summaryrefslogtreecommitdiff
path: root/lib/configtable.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-10-02 10:02:01 -0400
committerPeter Jones <pjones@redhat.com>2013-10-02 10:02:01 -0400
commitaec345c0b2e43e27ca49b5bdd6e22cd36a65b978 (patch)
treea7c019822ad25dea0343bd27c54ff3a5f6cdbaa4 /lib/configtable.c
parent041b6862744d292f92428630afdf55a91127557e (diff)
downloadefi-boot-shim-aec345c0b2e43e27ca49b5bdd6e22cd36a65b978.tar.gz
efi-boot-shim-aec345c0b2e43e27ca49b5bdd6e22cd36a65b978.zip
CompareMem expects void * and gcc complains.
Sorry about that. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/configtable.c')
-rw-r--r--lib/configtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/configtable.c b/lib/configtable.c
index 735ce8f8..e2d92bf0 100644
--- a/lib/configtable.c
+++ b/lib/configtable.c
@@ -101,7 +101,7 @@ configtable_find_image(const EFI_DEVICE_PATH *DevicePath)
break;
}
- if (CompareMem(dp, DevicePath, Size) == 0) {
+ if (CompareMem(dp, (void *)DevicePath, Size) == 0) {
#ifdef DEBUG_CONFIG
Print(L"***FOUND\n");
console_get_keystroke();