summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/decompress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decompress.c b/src/decompress.c
index dea2bca..ef64b76 100644
--- a/src/decompress.c
+++ b/src/decompress.c
@@ -2,6 +2,7 @@
2#include <stdio.h> 2#include <stdio.h>
3#include <unistd.h> 3#include <unistd.h>
4#include <fcntl.h> 4#include <fcntl.h>
5#include <string.h>
5 6
6#define XORLEN (29) 7#define XORLEN (29)
7#define HUGEBLOCK (1024*1024) 8#define HUGEBLOCK (1024*1024)
@@ -15,7 +16,7 @@ int main(int argc, char **argv) {
15 unsigned const char xorkey [XORLEN] = "Just for Fun. Linus Torvalds."; 16 unsigned const char xorkey [XORLEN] = "Just for Fun. Linus Torvalds.";
16 unsigned char input [HUGEBLOCK]; 17 unsigned char input [HUGEBLOCK];
17 unsigned char output [HUGEBLOCK]; 18 unsigned char output [HUGEBLOCK];
18 unsigned char respath[32]; /* file_XXXXX\0 */ 19 char respath[32]; /* file_XXXXX\0 */
19 int i, offs = 0, zres = 0, filenum = 0, resfile, avail=1; 20 int i, offs = 0, zres = 0, filenum = 0, resfile, avail=1;
20 z_stream z; memset( &z, 0, sizeof(z)); 21 z_stream z; memset( &z, 0, sizeof(z));
21 22