diff options
author | Petr Štetiar <ynezz@true.cz> | 2020-12-08 18:13:03 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-12-11 11:17:22 +0100 |
commit | 32ff717ed316e2d29563dcccfb272144dee9973c (patch) | |
tree | 245b38c6588694bfd69776bca9abed8ddb8e3878 /CMakeLists.txt | |
parent | 86a2ac6ac46ffb3f71e84debd03f7f16add148e5 (diff) | |
download | uclient-32ff717ed316e2d29563dcccfb272144dee9973c.tar.gz |
uclient-http: fix extra compiler warnings on mips_24kc and cortex-a9+neon
Fixes following warnings as reported on 32-bit platforms
toolchain-mips_24kc_gcc-8.4.0_musl and toolchain-arm_cortex-a9+neon_gcc-8.4.0_musl_eabi:
uclient-http.c:1111:10: error: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Werror=sign-compare]
if (len > data_end - data)
^
uclient-http.c:1115:11: error: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Werror=sign-compare]
if (len > uh->read_chunked)
^
uclient-http.c:1120:11: error: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Werror=sign-compare]
if (len > uh->content_length)
^
References: https://gitlab.com/ynezz/openwrt-uclient/-/pipelines/226912126
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions