Skip to content

Commit 33e8692

Browse files
committed
Merge pull request #41 from Changaco/fix_error_for_large_entries
Change c_int to c_longlong for entry_set_size
2 parents ad772b1 + f301a92 commit 33e8692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libarchive/ffi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def ffi(name, argtypes, restype, errcheck=None):
125125
ffi('entry_rdevmajor', [c_archive_entry_p], c_uint)
126126
ffi('entry_rdevminor', [c_archive_entry_p], c_uint)
127127

128-
ffi('entry_set_size', [c_archive_entry_p, c_int], c_int)
128+
ffi('entry_set_size', [c_archive_entry_p, c_longlong], c_int)
129129
ffi('entry_set_filetype', [c_archive_entry_p, c_int], c_int)
130130
ffi('entry_set_perm', [c_archive_entry_p, c_int], c_int)
131131

0 commit comments

Comments
 (0)