Commit e0ccc4b
committed
SOF: ABI: fix implicit type overflow
Implicit values have a length of 15bits (s16) so we need to declare the
proper size so we don't get undefined behaviour. Ubsan discovered
this bug in the firmware.
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>1 parent eb9bb48 commit e0ccc4b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments