svn commit: r263968 - head/sys/boot/i386/efi

Ed Maste emaste at FreeBSD.org
Mon Mar 31 14:12:28 UTC 2014


Author: emaste
Date: Mon Mar 31 14:12:27 2014
New Revision: 263968
URL: http://svnweb.freebsd.org/changeset/base/263968

Log:
  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

Modified:
  head/sys/boot/i386/efi/main.c

Modified: head/sys/boot/i386/efi/main.c
==============================================================================
--- head/sys/boot/i386/efi/main.c	Mon Mar 31 14:04:57 2014	(r263967)
+++ head/sys/boot/i386/efi/main.c	Mon Mar 31 14:12:27 2014	(r263968)
@@ -273,7 +273,8 @@ COMMAND_SET(mode, "mode", "change or dis
 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;
 


More information about the svn-src-all mailing list