diff options
| author | Peter Jones <pjones@redhat.com> | 2013-10-02 10:02:01 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-10-02 10:02:01 -0400 |
| commit | aec345c0b2e43e27ca49b5bdd6e22cd36a65b978 (patch) | |
| tree | a7c019822ad25dea0343bd27c54ff3a5f6cdbaa4 | |
| parent | 041b6862744d292f92428630afdf55a91127557e (diff) | |
| download | efi-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>
| -rw-r--r-- | lib/configtable.c | 2 |
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(); |
