Fix a type signedness mismatch 18/270218/1
authorMichal Bloch <m.bloch@samsung.com>
Wed, 26 Jan 2022 14:38:00 +0000 (15:38 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Wed, 26 Jan 2022 14:52:44 +0000 (15:52 +0100)
commitbb64eb2960ff694e4dfebe331d13d1bbc7170d5b
tree80012d80835be0b07859102445b93381c9bbbc47
parentde75372c11ba43acbe2e918dcb8935525edab5cb
Fix a type signedness mismatch

For size < 4, `char` was still cast to `unsigned` because of the earlier
operands, which also involved int promotion (so behaved the same as size == 4).

Change-Id: I7b9332bb20dd9d0035fc4607cb29a68cb82d0612
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
tests/kdbus/kdbus-util.c