commit | 1ac19d3e98116154654a9467f8864fb2f2b4c10d | [log] [tgz] |
---|---|---|
author | Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no> | Fri Mar 21 09:58:16 2025 +0100 |
committer | Benjamin Cabé <kartben@gmail.com> | Tue Mar 25 11:00:42 2025 +0100 |
tree | 5fff387c9df80ba6f79358356d0e9828097e2c14 | |
parent | f7d37ea87c66f7ffd64b7cbb010e6fa04b618ee3 [diff] |
sys: cbprintf: logging: Fix opaque struct pointer warning Use compiler trick to allow operations with all types of arguments. Previous solution was using arg+0 with suppressing compiler warning about pointer arithmetic operations but it was not covering for opaque struct pointers. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>