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:
Patrik Flykt 2018-11-29 11:23:03 -08:00 committed by Anas Nashif
commit b97db52de7
139 changed files with 1198 additions and 1198 deletions

View file

@ -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;