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();