diff options
| author | Peter Jones <pjones@redhat.com> | 2015-11-02 11:18:18 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2015-11-17 11:39:21 -0500 |
| commit | 1c0b567fd9fe23cbae263c34a16bb2fe4b3d5ab5 (patch) | |
| tree | b8ca5a90f90a54caff87a4468540d74a034deabe /MokManager.c | |
| parent | e22b8561d7918e9bc320cabea490424a754f48b9 (diff) | |
| download | efi-boot-shim-1c0b567fd9fe23cbae263c34a16bb2fe4b3d5ab5.tar.gz efi-boot-shim-1c0b567fd9fe23cbae263c34a16bb2fe4b3d5ab5.zip | |
MokManager: Fix a -Wsign-compare bug on i?86
My favorite part of -Wsign-compare is how it shows different results on
different arches for no obvious reason.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'MokManager.c')
| -rw-r--r-- | MokManager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MokManager.c b/MokManager.c index ee6dffb1..2de6853d 100644 --- a/MokManager.c +++ b/MokManager.c @@ -588,11 +588,11 @@ static void show_mok_info (EFI_GUID Type, void *Mok, UINTN MokSize) static EFI_STATUS list_keys (void *KeyList, UINTN KeyListSize, CHAR16 *title) { - INTN MokNum = 0; + UINTN MokNum = 0; MokListNode *keys = NULL; UINT32 key_num = 0; CHAR16 **menu_strings; - int i; + unsigned int i; if (KeyListSize < (sizeof(EFI_SIGNATURE_LIST) + sizeof(EFI_SIGNATURE_DATA))) { |
