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:
emaste 2014-03-31 14:12:27 +00:00
parent 5545a75da0
commit 384b3f0cd2

View File

@ -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;