opnsense-ports/archivers/par2cmdline/files/patch-par2fileformat.h
Franco Fichtner 6e79da282a */*: sync with upstream
Taken from: FreeBSD
2016-07-27 07:58:02 +02:00

11 lines
410 B
C

--- par2fileformat.h.orig 2003-08-01 23:43:40 UTC
+++ par2fileformat.h
@@ -84,7 +84,7 @@ struct FILEVERIFICATIONPACKET
PACKET_HEADER header;
// Body
MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name
- FILEVERIFICATIONENTRY entries[];
+ FILEVERIFICATIONENTRY entries[0];
} PACKED;
// The file description packet is used to record the name of the file,