aboutsummaryrefslogtreecommitdiff
path: root/libarchive/test/test_read_format_isorr_rr_moved.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_isorr_rr_moved.c')
-rw-r--r--libarchive/test/test_read_format_isorr_rr_moved.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libarchive/test/test_read_format_isorr_rr_moved.c b/libarchive/test/test_read_format_isorr_rr_moved.c
index d59b3464030d..05aa97e62df7 100644
--- a/libarchive/test/test_read_format_isorr_rr_moved.c
+++ b/libarchive/test/test_read_format_isorr_rr_moved.c
@@ -65,12 +65,12 @@ DEFINE_TEST(test_read_format_isorr_rr_moved)
struct archive *a;
const void *p;
size_t size;
- off_t offset;
+ int64_t offset;
int i;
extract_reference_file(refname);
assert((a = archive_read_new()) != NULL);
- assertEqualInt(0, archive_read_support_compression_all(a));
+ assertEqualInt(0, archive_read_support_filter_all(a));
assertEqualInt(0, archive_read_support_format_all(a));
assertEqualInt(ARCHIVE_OK,
archive_read_open_filename(a, refname, 10240));
@@ -263,8 +263,8 @@ DEFINE_TEST(test_read_format_isorr_rr_moved)
assertEqualInt(archive_format(a), ARCHIVE_FORMAT_ISO9660_ROCKRIDGE);
/* Close the archive. */
- assertEqualInt(0, archive_read_close(a));
- assertEqualInt(0, archive_read_finish(a));
+ assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a));
+ assertEqualInt(ARCHIVE_OK, archive_read_free(a));
}