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:
parent
caebf204c6
commit
24d71431e9
559 changed files with 2331 additions and 2328 deletions
|
@ -37,7 +37,7 @@ void z_impl_k_thread_abort(k_tid_t thread)
|
|||
struct k_spinlock lock = {};
|
||||
k_spinlock_key_t key = k_spin_lock(&lock);
|
||||
|
||||
__ASSERT((thread->base.user_options & K_ESSENTIAL) == 0,
|
||||
__ASSERT((thread->base.user_options & K_ESSENTIAL) == 0U,
|
||||
"essential thread aborted");
|
||||
|
||||
z_thread_single_abort(thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue