summaryrefslogtreecommitdiffstats
path: root/contrib/libarchive/tar/test/test_stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libarchive/tar/test/test_stdio.c')
-rw-r--r--contrib/libarchive/tar/test/test_stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libarchive/tar/test/test_stdio.c b/contrib/libarchive/tar/test/test_stdio.c
index 1780d96..8d44dd6 100644
--- a/contrib/libarchive/tar/test/test_stdio.c
+++ b/contrib/libarchive/tar/test/test_stdio.c
@@ -113,7 +113,7 @@ DEFINE_TEST(test_stdio)
assertEqualInt(r, 0);
/* Verify xvOf.out is the file contents */
p = slurpfile(&s, "xvOf.out");
- assert(s = 3);
+ assertEqualInt((int)s, 3);
assertEqualMem(p, "abc", 3);
/* TODO: Verify xvf.err */
OpenPOWER on IntegriCloud