test: Adjust print_ut test to use unsigned char
authorSimon Glass <sjg@chromium.org>
Wed, 27 Nov 2024 17:17:20 +0000 (11:17 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2024 22:34:30 +0000 (16:34 -0600)
commit5c8c0738877e15cfe263c721989969c43ff9e5bf
tree00a8cdee64150af32ce92b9e7751ce74c2deb3d5
parente46e4d6fd7f969f0e60b0f54b69830da543b0d96
test: Adjust print_ut test to use unsigned char

Since char is unsigned on arm64, this test currently fails. It seems
better to use unsigned anyway, since 0xff is written into the string at
the start. Update the terminator-assert to use a character instead of a
byte.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Changes in v6:
- Re-introduce

Changes in v2:
- Use '\0' instead of 0

test/print_ut.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
test/common/print.c