gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
62 stars 50 forks source link

bad escape character in "format.h" #61

Open 844E opened 5 years ago

844E commented 5 years ago

(a very fast report)

In the file "zzip/format.h", we have this. # define ZZIP_FILE_TRAILER_CHECKMAGIC(__p) ZZIP_CHECKMAGIC(__p,'P','K','\7','\8')

GCC produces a compilation warning (unknown escape sequence '\8') and generates 0x00 instead of 0x08.

It seems incorrect.

Regards