From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Sat, 15 Dec 2012 11:58:47 -0600 Subject: [U-Boot] [PATCH 1/3] fw_env: fix type of len In-Reply-To: <1352612867-32354-1-git-send-email-vapier@gentoo.org> References: <1352612867-32354-1-git-send-email-vapier@gentoo.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Mike, On Sat, Nov 10, 2012 at 11:47 PM, Mike Frysinger wrote: > This variable is assigned by a size_t, and is printed that way, but is > incorrectly declared as an int. Which means we get warnings: > fw_env.c: In function 'fw_setenv': > fw_env.c:409:5: warning: format '%zu' expects argument of type 'size_t', > but argument 3 has type 'int' [-Wformat] > > Signed-off-by: Mike Frysinger > --- Acked-by: Joe Hershberger