Skip to content

Commit

Permalink
Merge pull request #340 from kevinbackhouse/printf-size_t
Browse files Browse the repository at this point in the history
Fix format specifier for printing a size_t
  • Loading branch information
anticomputer authored Jul 20, 2023
2 parents f94b7ed + 33ab1cd commit 049a6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_test/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 049a6e3

Please sign in to comment.