Lines 57-67
Link Here
|
57 |
|
57 |
|
58 |
bool DecompressorGZIP::decompress(const PPSystemString& outFileName, Hints hint) |
58 |
bool DecompressorGZIP::decompress(const PPSystemString& outFileName, Hints hint) |
59 |
{ |
59 |
{ |
60 |
gzFile *gz_input_file = NULL; |
60 |
gzFile gz_input_file = NULL; |
61 |
int len = 0; |
61 |
int len = 0; |
62 |
pp_uint8 *buf; |
62 |
pp_uint8 *buf; |
63 |
|
63 |
|
64 |
if ((gz_input_file = (void **)gzopen (fileName.getStrBuffer(), "r")) == NULL) |
64 |
if ((gz_input_file = gzopen (fileName.getStrBuffer(), "r")) == NULL) |
65 |
return false; |
65 |
return false; |
66 |
|
66 |
|
67 |
if ((buf = new pp_uint8[0x10000]) == NULL) |
67 |
if ((buf = new pp_uint8[0x10000]) == NULL) |