diff options
| author | Peter Jones <pjones@redhat.com> | 2014-09-21 13:19:30 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2014-09-21 16:25:28 -0400 |
| commit | 9db91ca0e1f7ac94871f34f654b41cbb7f9e2da1 (patch) | |
| tree | 5b74e42802fa2b88a8449a44cd35bedac51f8d13 | |
| parent | 6744a7ef8eca44948565c3d1244ec931ed3f6fee (diff) | |
| download | efi-boot-shim-9db91ca0e1f7ac94871f34f654b41cbb7f9e2da1.tar.gz efi-boot-shim-9db91ca0e1f7ac94871f34f654b41cbb7f9e2da1.zip | |
Make list_keys() index variables all be signed.
We build with -Werror=signed-compare in fedora/rhel rpms, and this
showed up.
Signed-off-by: Peter Jones <pjones@redhat.com>
| -rw-r--r-- | MokManager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MokManager.c b/MokManager.c index 50cb9d7f..ecbcdd34 100644 --- a/MokManager.c +++ b/MokManager.c @@ -436,11 +436,11 @@ static void show_mok_info (void *Mok, UINTN MokSize) static EFI_STATUS list_keys (void *KeyList, UINTN KeyListSize, CHAR16 *title) { - UINT32 MokNum = 0; + INTN MokNum = 0; MokListNode *keys = NULL; INTN key_num = 0; CHAR16 **menu_strings; - unsigned int i; + int i; if (KeyListSize < (sizeof(EFI_SIGNATURE_LIST) + sizeof(EFI_SIGNATURE_DATA))) { |
