Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 14:12:28 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263968 - head/sys/boot/i386/efi
Message-ID:  <201403311412.s2VECSgs015472@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403311412.s2VECSgs015472>