freebsd-ports/archivers/par2cmdline/files/patch-par2fileformat.h

12 lines
410 B
C
Raw Normal View History

--- par2fileformat.h.orig 2003-08-01 23:43:40 UTC
+++ par2fileformat.h
@@ -84,7 +84,7 @@ struct FILEVERIFICATIONPACKET
2011-06-23 10:37:05 +02:00
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,