Skip to content

Commit

Permalink
Merge pull request #41 from Changaco/fix_error_for_large_entries
Browse files Browse the repository at this point in the history
Change c_int to c_longlong for entry_set_size
  • Loading branch information
Changaco committed Nov 29, 2016
2 parents ad772b1 + f301a92 commit 33e8692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libarchive/ffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def ffi(name, argtypes, restype, errcheck=None):
ffi('entry_rdevmajor', [c_archive_entry_p], c_uint)
ffi('entry_rdevminor', [c_archive_entry_p], c_uint)

ffi('entry_set_size', [c_archive_entry_p, c_int], c_int)
ffi('entry_set_size', [c_archive_entry_p, c_longlong], c_int)
ffi('entry_set_filetype', [c_archive_entry_p, c_int], c_int)
ffi('entry_set_perm', [c_archive_entry_p, c_int], c_int)

Expand Down

0 comments on commit 33e8692

Please sign in to comment.