commit | 19b6b1fb3041679f093a3f97dc2874ffd59c731d | [log] [tgz] |
---|---|---|
author | Kumar Gala <kumar.gala@intel.com> | Thu Mar 30 16:33:26 2023 +0000 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Mar 31 09:19:09 2023 +0200 |
tree | 6331768eb2e0a04c4b0d071ff303addd71e2d67b | |
parent | 62ffafcb3daf76fe731f33f8b0e61e555411e9d7 [diff] |
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>