From 33ab1cddb837dbc694cc1d95d2a28059c5706be0 Mon Sep 17 00:00:00 2001 From: Kevin Backhouse Date: Fri, 14 Jul 2023 11:42:25 +0100 Subject: [PATCH] Fix format specifier for printing a size_t --- api_test/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_test/main.c b/api_test/main.c index f9f83cdaa..1a41e694a 100644 --- a/api_test/main.c +++ b/api_test/main.c @@ -836,7 +836,7 @@ static void test_continuation_byte(test_batch_runner *runner, char *html = cmark_markdown_to_html(buf, strlen(buf), CMARK_OPT_VALIDATE_UTF8); - STR_EQ(runner, html, expected, "invalid utf8 continuation byte %d/%d", pos, + STR_EQ(runner, html, expected, "invalid utf8 continuation byte %zu/%zu", pos, len); free(html); }