From: Tom Rini Date: Fri, 12 May 2017 13:23:53 -0400 Subject: [U-Boot] [U-Boot, 3/8] cmd/io.c: Fix comparison of unsigned expression warning In-Reply-To: <1494444018-2748-3-git-send-email-trini@konsulko.com> References: <1494444018-2748-3-git-send-email-trini@konsulko.com> Message-ID: <20170512172353.GB5701@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 10, 2017 at 03:20:13PM -0400, Tom Rini wrote: > The function cmd_get_data_size() returns an int and not unsigned. So we > should assign it to an int rather than unsigned so that we can later > compare the return value. Reported by clang-3.8. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: