all: Add 'U' suffix when using unsigned variables

Add a 'U' suffix to values when computing and comparing against
unsigned variables.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
Patrik Flykt 2019-03-26 19:57:45 -06:00 committed by Kumar Gala
commit 24d71431e9
559 changed files with 2331 additions and 2328 deletions

View file

@ -175,9 +175,9 @@ u32_t fxas21002_get_transition_time(enum fxas21002_power start,
transition_time = sample_period[dr];
if (start == FXAS21002_POWER_READY) {
transition_time += 5000;
transition_time += 5000U;
} else {
transition_time += 60000;
transition_time += 60000U;
}
return transition_time;