Closed chinglee-iot closed 11 months ago
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: No coverage uploaded for pull request base (
main@1813a45
). Click here to learn what that means.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
Fix MISRA C 2012 Rule 10.8 violation
Description
MISRA C:2012 Rule 10.8
MISRA violation The following is an example of violation.
uxItemSize
anduxQueueLength
is ofUBaseType_t
. The multiply result is stillUBaseType_t
. ConvertUBaseType_t
tosize_t
may cause implicit type conversion.Fix In this PR
size_t
type variables.Test Steps
N/A
Checklist:
I have tested my changes. No regression in existing tests.I have modified and/or added unit-tests to cover the code changes in this Pull Request.Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.