CompareMem expects void * and gcc complains.

Sorry about that.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2013-10-02 10:02:01 -04:00
parent 041b686274
commit aec345c0b2

View File

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