aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_gtar_sparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_gtar_sparse.c')
-rw-r--r--libarchive/test/test_read_format_gtar_sparse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libarchive/test/test_read_format_gtar_sparse.c b/libarchive/test/test_read_format_gtar_sparse.c
index 7ab13c1109a0..6d15a4745f9c 100644
--- a/libarchive/test/test_read_format_gtar_sparse.c
+++ b/libarchive/test/test_read_format_gtar_sparse.c
@@ -214,8 +214,9 @@ verify_archive_file(const char *name, struct archive_contents *ac)
* Any byte before the expected
* data must be NULL.
*/
- failure("%s: pad at offset %d "
- "should be zero", name, actual.o);
+ failure("%s: pad at offset %jd "
+ "should be zero", name,
+ (intmax_t)actual.o);
assertEqualInt(c, 0);
} else if (actual.o == expect.o) {
/*