zephyr/lib/libc/minimal/source/stdlib
Kumar Gala 0e43b8861b libc: 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-04-04 13:47:34 +02:00
..
abort.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
atoi.c libc: fix armclang compiler warnings with is*() functions 2023-04-04 13:47:34 +02:00
bsearch.c
exit.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
malloc.c libc: minimal: Add C11 aligned_alloc 2022-10-03 10:13:25 +02:00
qsort.c
rand.c libc: Define Z_LIBC_DATA macro globally 2022-06-01 11:03:38 +02:00
strtol.c libc: fix armclang compiler warnings with is*() functions 2023-04-04 13:47:34 +02:00
strtoll.c libc: fix armclang compiler warnings with is*() functions 2023-04-04 13:47:34 +02:00
strtoul.c libc: fix armclang compiler warnings with is*() functions 2023-04-04 13:47:34 +02:00
strtoull.c libc: fix armclang compiler warnings with is*() functions 2023-04-04 13:47:34 +02:00