On my Linux system, when I try to compile I get the following:
$ make
[C] pkg2zip_utils.c
[C] pkg2zip_aes.c
[C] pkg2zip.c
[C] pkg2zip_crc32.c
[C] pkg2zip_aes_x86.c
[C] pkg2zip_zip.c
[C] pkg2zip_crc32_x86.c
[C] pkg2zip_sys.c
pkg2zip_sys.c: In function ‘sys_read’:
pkg2zip_sys.c:157:14: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (read != size)
^
pkg2zip_sys.c: In function ‘sys_write’:
pkg2zip_sys.c:166:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (wrote != size)
^
cc1: all warnings being treated as errors
makefile:36: recipe for target 'pkg2zip_sys.o' failed
make: *** [pkg2zip_sys.o] Error 1
On my Linux system, when I try to compile I get the following: