firmware-utils: seama: fix compiler warnings/errors
authorPetr Štetiar <ynezz@true.cz>
Sat, 20 Jul 2019 12:33:13 +0000 (14:33 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 Jul 2019 20:07:23 +0000 (22:07 +0200)
commit940f505233b305fc0528ac059d6f8ad52e5b481f
tree0ce0afefb9a1730263b7cc63c5e3a8fc765d6831
parent7647560dc753aeb896d4dc3ee4b534b925c8401d
firmware-utils: seama: fix compiler warnings/errors

seama.c:334:16: error: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Werror=sign-compare]
seama.c:352:14: error: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Werror=sign-compare]
seama.c:374:13: error: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Werror=sign-compare]
seama.c:411:16: error: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Werror=sign-compare]
seama.c:438:16: error: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Werror=sign-compare]
seama.c:453:4: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]
seama.c:469:4: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]
seama.c:473:5: 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/seama.c