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)
commit9398b8ce5ff619be2b913a44f0b4705d444b1a19
tree22fe449b773b0ba77f526ecb7050ddfef705fef1
parentb37483c42e2717300e55c83347aa83c042db5d9b
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