Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[logging] fix print format when enabling csl debug
Fix -Wformat trigger on some platforms as an int32_t is printed using %d ``` src/core/mac/sub_mac.cpp:336:73: warning: format '%d' expects argument of type 'int', but argument 5 has type 'int32_t' {aka 'long int'} [-Wformat=] 336 | logString.Append("Expected sample time %lu, margin ±%lu, deviation %d", ToUlong(sampleTime), ToUlong(ahead), | ~^ | | | int | %ld 337 | deviation); | ~~~~~~~~~ | | | int32_t {aka long int} ```
- Loading branch information