libarchive_cpp_wrapper icon indicating copy to clipboard operation
libarchive_cpp_wrapper copied to clipboard

Fix a signed/unsigned comparision issue.

Open coldtobi opened this issue 4 years ago • 0 comments

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.

coldtobi avatar Feb 10 '21 11:02 coldtobi