Commit c1c8e07
committed
fix: logging alignment on 32bit targets
The usage "%zu" here can cause a crash on some embedded log/printf
implementations used by SS_LOGP don't correctly support the `z` length
modifier which can cause misinterpretation and crashes. Cast to unsigned
int and print with "%u" which is safe for the 32-bit targets used here.1 parent 88b6e7e commit c1c8e07
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
0 commit comments