firmware-utils: motorola-bin: fix compiler warnings/errors
authorPetr Štetiar <ynezz@true.cz>
Sat, 20 Jul 2019 12:56:44 +0000 (14:56 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 Jul 2019 20:07:23 +0000 (22:07 +0200)
commit1264d7a966bbfb279d2fdb5fff924f16f43c8efe
treee199a8d334d46230bcc4e5874d773b2cd404689a
parent2787ca4b91610c35cb38d782b8de8a18df99e1a1
firmware-utils: motorola-bin: fix compiler warnings/errors

motorola-bin.c:146:11: error: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘long unsigned int’ [-Werror=sign-compare]
motorola-bin.c:173:79: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Werror=sign-compare]
motorola-bin.c:214:57: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Werror=sign-compare]

Signed-off-by: Petr Štetiar <ynezz@true.cz>
tools/firmware-utils/src/motorola-bin.c