libarchive_cpp_wrapper
libarchive_cpp_wrapper copied to clipboard
Fix a signed/unsigned comparision issue.
ssize_t needs to be used, otherwise the comparasion _buff_size < 0 can never be true. and as archive_read_data returns ssize_t a error could not be detected.