diff options
Diffstat (limited to 'lib/libarchive/test/test_read_position.c')
-rw-r--r-- | lib/libarchive/test/test_read_position.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/test/test_read_position.c b/lib/libarchive/test/test_read_position.c index 0557774..d35766c 100644 --- a/lib/libarchive/test/test_read_position.c +++ b/lib/libarchive/test/test_read_position.c @@ -48,7 +48,7 @@ DEFINE_TEST(test_read_position) assertA(0 == archive_write_open_memory(a, buff, sizeof(buff), &write_pos)); assertA(0 == archive_write_header(a, ae)); archive_entry_free(ae); - assertA(data_size == archive_write_data(a, nulls, sizeof(nulls))); + assertA(data_size == (size_t)archive_write_data(a, nulls, sizeof(nulls))); #if ARCHIVE_API_VERSION > 1 assertA(0 == archive_write_finish(a)); #else |