zephyr/samples/subsys/shell/shell_module/src
Kumar Gala 831bd2f841 armclang: fix compiler warnings with isprint()
We get compile warnings of the form:

drivers/console/uart_console.c:508:8: 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 returns an int, change check to an explicit test against
the return value.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-03-17 09:30:01 +01:00
..
dynamic_cmd.c samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
main.c armclang: fix compiler warnings with isprint() 2023-03-17 09:30:01 +01:00
test_module.c samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
uart_reinit.c devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00