Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pks-t committed Sep 5, 2024
1 parent 1a0274a commit 3a486a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clar/print.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ static void clar_print_clap_error(int num, const struct clar_report *report, con
{
printf(" %d) Failure:\n", num);

printf("%s::%s [%s:%"PRIuZ"]\n",
printf("%s::%s [%s:%"PRIuMAX"]\n",
report->suite,
report->test,
error->file,
error->line_number);
(uintmax_t)error->line_number);

printf(" %s\n", error->error_msg);

Expand Down Expand Up @@ -136,7 +136,7 @@ static void clar_print_tap_ontest(const char *suite_name, const char *test_name,

printf(" at:\n");
printf(" file: '"); print_escaped(error->file); printf("'\n");
printf(" line: %" PRIuZ "\n", error->line_number);
printf(" line: %" PRIuMAX "\n", (uintmax_t)error->line_number);
printf(" function: '%s'\n", error->function);
printf(" ---\n");

Expand Down

0 comments on commit 3a486a0

Please sign in to comment.