From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Husemann Date: Thu, 26 Jul 2018 17:36:01 +0200 Subject: [U-Boot] [PATCH] cmd/ubi.c: Fix format warning In-Reply-To: <1532619145-8775-1-git-send-email-trini@konsulko.com> References: <1532619145-8775-1-git-send-email-trini@konsulko.com> Message-ID: <20180726153601.GA19327@mail.duskware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jul 26, 2018 at 11:32:25AM -0400, Tom Rini wrote: > - printf("Read %u bytes from volume %s to %p\n", size, volume, buf); > + printf("Read %zd bytes from volume %s to %p\n", size, volume, buf); Why make it signed? "%zu bytes" should be better. Martin