mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Merge r246607 by benno from projects/uefi
Use EFI types for EFI values (silences warnings). EFI UINTN is actually a 64-bit type on 64-bit processors. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
fb01014241
commit
f3c22563bd
1 changed files with 3 additions and 3 deletions
|
|
@ -273,7 +273,8 @@ COMMAND_SET(mode, "mode", "change or display text modes", command_mode);
|
|||
static int
|
||||
command_mode(int argc, char *argv[])
|
||||
{
|
||||
unsigned int cols, rows, mode;
|
||||
UINTN cols, rows;
|
||||
unsigned int mode;
|
||||
int i;
|
||||
char *cp;
|
||||
char rowenv[8];
|
||||
|
|
@ -327,8 +328,7 @@ command_nvram(int argc, char *argv[])
|
|||
CHAR16 *data;
|
||||
EFI_STATUS status;
|
||||
EFI_GUID varguid = { 0,0,0,{0,0,0,0,0,0,0,0} };
|
||||
unsigned int varsz;
|
||||
unsigned int datasz;
|
||||
UINTN varsz, datasz;
|
||||
SIMPLE_TEXT_OUTPUT_INTERFACE *conout;
|
||||
int i;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue