]> git.baikalelectronics.ru Git - uboot.git/commit
cmd/io.c: Fix comparison of unsigned expression warning
authorTom Rini <trini@konsulko.com>
Wed, 10 May 2017 19:20:13 +0000 (15:20 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:38 +0000 (08:37 -0400)
commitcb148f7e87dbbc88a245ea1c1395cb14910aec38
tree22fe449b773b0ba77f526ecb7050ddfef705fef1
parentc4f6c4822dc0b37c339fa77f5c7b937e9d49e4de
cmd/io.c: Fix comparison of unsigned expression warning

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@konsulko.com>
cmd/io.c