[U-Boot] [U-Boot, 3/8] cmd/io.c: Fix comparison of unsigned expression warning

Tom Rini trini at konsulko.com
Fri May 12 17:23:53 UTC 2017


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 <trini at konsulko.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20170512/c405f1e2/attachment.sig>


More information about the U-Boot mailing list