firmware-utils: mktplinkfw{2,-lib}: fix compiler warnings/errors
authorPetr Štetiar <ynezz@true.cz>
Sat, 20 Jul 2019 23:13:29 +0000 (01:13 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 Jul 2019 20:07:23 +0000 (22:07 +0200)
commitec68ea5c86b6e0957e5d598a9cd933d78a10ac9e
treeb150d0d3cade57448f14eae42c1e5c98234a013a
parent7a204390f296acaa6c61a6c57b8db223d7812b26
firmware-utils: mktplinkfw{2,-lib}: fix compiler warnings/errors

mktplinkfw-lib.c:143:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Werror=sign-compare]
mktplinkfw-lib.c:104:2: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]

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