misra-c: Add 'U' to unsigned variable assignments in subsys/
Add 'U' to a value when assigning it to an unsigned variable. MISRA-C rule 7.2 Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
parent
079f55d519
commit
b97db52de7
139 changed files with 1198 additions and 1198 deletions
|
@ -292,7 +292,7 @@ fcb_offset_last_n(struct fcb *fcb, u8_t entries,
|
|||
|
||||
/* assure a minimum amount of entries */
|
||||
if (!entries) {
|
||||
entries = 1;
|
||||
entries = 1U;
|
||||
}
|
||||
|
||||
i = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue