Resolve "USAN: implicit conversion from type 'int' to type 'int16_t' changes value in gs_enc.c for OMASA"
requested to merge 1027-usan-implicit-conversion-from-type-int-to-type-int16_t-changes-value-in-gs_enc-c-for-omasa into main
- Related issues: #1027 (closed)
- Requested reviewers: @vaillancour
Reason why this change is needed
Fix USAN issue complaining about int
overflow.
Description of the change
Statement is rewritten with explicit format change to silence the USAN.
Affected operating points
All BE.
Edited by malenovsky