FreeRTOS / FreeRTOS-Kernel

FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
https://www.FreeRTOS.org
MIT License
2.51k stars 1.05k forks source link

Use suffix "U" for unsigned constant #1041

Closed chinglee-iot closed 2 months ago

chinglee-iot commented 2 months ago

Description

This PR fix the MISRA C:2012 rule 7.2 deviations.

MISRA C:2012 rule 7.2 requires that

A “u” or “U” suffix shall be applied to all integer constants that are represented in an unsigned type

In this PR:

Test Steps

Checklist:

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.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud