From c0f86d66f3f6b561528e7f856f9926bec766c036 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 29 Aug 2022 13:07:11 +0200 Subject: tree-wide: Use correct format specifiers gcc will complain about all these with -Wformat-signedness. --- src/test/test-escape.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/test-escape.c') diff --git a/src/test/test-escape.c b/src/test/test-escape.c index 214190e134..da19272624 100644 --- a/src/test/test-escape.c +++ b/src/test/test-escape.c @@ -33,7 +33,7 @@ static void test_xescape_full_one(bool eight_bits) { assert_se(t = xescape_full("abc\\\"\b\f\n\r\t\v\a\003\177\234\313", "b", i, flags)); - log_info("%02d: <%s>", i, t); + log_info("%02u: <%s>", i, t); if (i >= full_fit) assert_se(streq(t, escaped)); @@ -51,7 +51,7 @@ static void test_xescape_full_one(bool eight_bits) { assert_se(q = xescape_full("abc\\\"\b\f\n\r\t\v\a\003\177\234\313", "b", i, flags | XESCAPE_FORCE_ELLIPSIS)); - log_info("%02d: <%s>", i, q); + log_info("%02u: <%s>", i, q); if (i > 0) assert_se(endswith(q, ".")); assert_se(strlen(q) <= i); -- cgit v1.2.3