Skip to content

Commit 049a6e3

Browse files
authored
Merge pull request #340 from kevinbackhouse/printf-size_t
Fix format specifier for printing a size_t
2 parents f94b7ed + 33ab1cd commit 049a6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api_test/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ static void test_continuation_byte(test_batch_runner *runner,
836836

837837
char *html =
838838
cmark_markdown_to_html(buf, strlen(buf), CMARK_OPT_VALIDATE_UTF8);
839-
STR_EQ(runner, html, expected, "invalid utf8 continuation byte %d/%d", pos,
839+
STR_EQ(runner, html, expected, "invalid utf8 continuation byte %zu/%zu", pos,
840840
len);
841841
free(html);
842842
}

0 commit comments

Comments
 (0)