aboutsummaryrefslogtreecommitdiffhomepage
path: root/.vscode
diff options
context:
space:
mode:
authorJoel Spadin <[email protected]>2024-12-11 14:00:48 -0600
committerGitHub <[email protected]>2024-12-11 15:00:48 -0500
commit7013158a6715d94b34e8c471ce25bb5005f3bb49 (patch)
tree48a0efc0f402f8d14e943da9b2ea23b0b7fee5e1 /.vscode
parenta8f5ab67b5d449a2624e2de7ddfb264da778ea6c (diff)
downloadzmk-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 '.vscode')
0 files changed, 0 insertions, 0 deletions