aboutsummaryrefslogtreecommitdiffstats
path: root/t/unit-tests/t-strvec.c
diff options
context:
space:
mode:
Diffstat (limited to 't/unit-tests/t-strvec.c')
-rw-r--r--t/unit-tests/t-strvec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/unit-tests/t-strvec.c b/t/unit-tests/t-strvec.c
index fdb28ba220..fa1a041469 100644
--- a/t/unit-tests/t-strvec.c
+++ b/t/unit-tests/t-strvec.c
@@ -11,7 +11,8 @@
check_uint((vec)->nr, <=, (vec)->alloc)) { \
for (size_t i = 0; i < ARRAY_SIZE(expect); i++) { \
if (!check_str((vec)->v[i], expect[i])) { \
- test_msg(" i: %"PRIuMAX, i); \
+ test_msg(" i: %"PRIuMAX, \
+ (uintmax_t)i); \
break; \
} \
} \