diff options
author | Joel Spadin <[email protected]> | 2024-12-11 14:00:48 -0600 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-11 15:00:48 -0500 |
commit | 7013158a6715d94b34e8c471ce25bb5005f3bb49 (patch) | |
tree | 48a0efc0f402f8d14e943da9b2ea23b0b7fee5e1 /app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml | |
parent | a8f5ab67b5d449a2624e2de7ddfb264da778ea6c (diff) | |
download | zmk-7013158a6715d94b34e8c471ce25bb5005f3bb49.tar.gz zmk-7013158a6715d94b34e8c471ce25bb5005f3bb49.zip |
fix: Fix warnings in nanopb encoding code (#2643)
The "arg" field on nanopb structs is a void* because it is shared
between the encode and decode callbacks, even though the encode
callback probably should not modify the data. We are passing const data
using this non-const pointer, which causes warnings about discarding
const. This commit explicitly casts to void* to suppress these warnings.
Diffstat (limited to 'app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml')
0 files changed, 0 insertions, 0 deletions