treewide: fix multiple compiler warnings
authorPetr Štetiar <ynezz@true.cz>
Wed, 29 Mar 2023 07:45:04 +0000 (09:45 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 31 May 2023 16:42:51 +0000 (18:42 +0200)
commit1fe1d4f5e8c2e235a1ab4e0df8baa734142fe994
treebc714af5b102f5346905a173061e8ca392d4f5f8
parentfb1add3a991ef3aff54fcd87ee1185487f55f540
treewide: fix multiple compiler warnings

Fixes bunch of clang-15/gcc-10 compiler warnings, mostly related to
blobmsg_for_each_attr() usage:

 error: comparison of integers of different signs: 'int' and 'unsigned long' [-Werror,-Wsign-compare]
 error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
 error: format string is not a string literal [-Werror,-Wformat-nonliteral]

Signed-off-by: Petr Štetiar <ynezz@true.cz>
13 files changed:
bonding.c
bridge.c
config.c
extdev.c
interface-ip.c
interface.c
main.c
proto-shell.c
proto.c
system-linux.c
ubus.c
vlandev.c
wireless.c