forked from Lainports/freebsd-ports
Makefile
bump PORTREVISION;
USE_CSTD: gnu89 became gnu99 [0];
files/
*: if ARCH=i386, replaces ARCH with ia32;
elf_ia32_efi.lds: sync OUTPUT_FORMAT [1];
MokManager.c: used UINT32 for MokNum.
Reported by: pkg-fallout
Approved by: araujo (mentor)
Differential Revision: https://reviews.freebsd.org/D18572
[0] shim.c:2176:3: error: this decimal constant is unsigned only in ISO C90
[1] patch-elf_x86_64_efi.lds always appended -freebsd as OUTPUT_FORMAT
16 lines
436 B
C
16 lines
436 B
C
--- MokManager.c.orig 2015-06-30 18:20:12 UTC
|
|
+++ MokManager.c
|
|
@@ -588,11 +588,11 @@ static void show_mok_info (EFI_GUID Type
|
|
|
|
static EFI_STATUS list_keys (void *KeyList, UINTN KeyListSize, CHAR16 *title)
|
|
{
|
|
- INTN MokNum = 0;
|
|
+ UINT32 MokNum = 0;
|
|
MokListNode *keys = NULL;
|
|
UINT32 key_num = 0;
|
|
CHAR16 **menu_strings;
|
|
- int i;
|
|
+ UINT32 i;
|
|
|
|
if (KeyListSize < (sizeof(EFI_SIGNATURE_LIST) +
|
|
sizeof(EFI_SIGNATURE_DATA))) {
|