Skip to content
Commit f0af9275 authored by Emil Lindqvist's avatar Emil Lindqvist Committed by Anas Nashif
Browse files

logging: typecast to stop signed-unsigned comparison



If source_id is -1, which is a valid value, it will be
converted to unsigned since it's compared with an unsigned
which means it will be huge and asserts will trigger. To avoid
this, we typecast the unsigned part to signed.

Resolves #40115

Signed-off-by: default avatarEmil Lindqvist <emil@lindq.gr>
parent 9ed986ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment