Commit 109ae33
committed
applications: nrf_desktop: config_event: address string truncation error
Replaced the implementation of the copy operation in the
GEN_CONFIG_EVENT_HANDLERS macro declaration of the Config Event header
that is part of the nRF Desktop application.
This change is done to address the string truncation error
(-Werror=stringop-truncation) that was caused by the strncpy function.
Signed-off-by: Kamil Piszczek <[email protected]>1 parent 543ed35 commit 109ae33
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments