From 3a486a0fd322009c10f852cc821944739541ab31 Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Thu, 5 Sep 2024 10:59:30 +0200 Subject: [PATCH] test --- clar/print.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clar/print.h b/clar/print.h index c17e2f6..f93ecaf 100644 --- a/clar/print.h +++ b/clar/print.h @@ -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); @@ -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");