zephyr/subsys/net/lib/dns
Kumar Gala 19b6b1fb30 dns: fix armclang compiler warnings with is*() functions
We get compile warnings of the form:

error: converting the result of
'<<' to a boolean; did you mean
'((__aeabi_ctype_table_ + 1)[(byte)] << 28) != 0'?
 [-Werror,-Wint-in-bool-context]
                if (!isprint(byte)) {
                     ^

Since isprint (and the other is* functions) return an int, change check
to an explicit test against the return value.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-03-31 09:19:09 +02:00
..
CMakeLists.txt
dns_internal.h
dns_pack.c
dns_pack.h
dns_sd.c dns: fix armclang compiler warnings with is*() functions 2023-03-31 09:19:09 +02:00
dns_sd.h
Kconfig
llmnr_responder.c
mdns_responder.c
resolve.c net: dns: Check existing DNS servers before reconfigure 2023-03-14 12:27:15 -04:00