From aec345c0b2e43e27ca49b5bdd6e22cd36a65b978 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 2 Oct 2013 10:02:01 -0400 Subject: [PATCH] CompareMem expects void * and gcc complains. Sorry about that. Signed-off-by: Peter Jones --- lib/configtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/configtable.c b/lib/configtable.c index 735ce8f..e2d92bf 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();