Fix a type signedness mismatch 52/270252/1
authorMichal Bloch <m.bloch@samsung.com>
Wed, 26 Jan 2022 14:38:00 +0000 (15:38 +0100)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Jan 2022 06:43:05 +0000 (06:43 +0000)
commited6b7f2672c98b1f35bd5ab70789e06cde188222
tree80012d80835be0b07859102445b93381c9bbbc47
parentdb15005b29049959146b0e958238a5e1d3035ed1
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>
(cherry picked from commit bb64eb2960ff694e4dfebe331d13d1bbc7170d5b)
tests/kdbus/kdbus-util.c