From d43b806acb50c9bd5cf309362fa5c5119058827f Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 1 Feb 2014 09:31:34 +0100 Subject: include header file for string functions --- src/decompress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ #include #include #include +#include #define XORLEN (29) #define HUGEBLOCK (1024*1024) @@ -15,7 +16,7 @@ int main(int argc, char **argv) { unsigned const char xorkey [XORLEN] = "Just for Fun. Linus Torvalds."; unsigned char input [HUGEBLOCK]; unsigned char output [HUGEBLOCK]; - unsigned char respath[32]; /* file_XXXXX\0 */ + char respath[32]; /* file_XXXXX\0 */ int i, offs = 0, zres = 0, filenum = 0, resfile, avail=1; z_stream z; memset( &z, 0, sizeof(z)); -- cgit v1.2.3