Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 410333 | Differences between
and this patch

Collapse All | Expand All

(-)src.old/compression/DecompressorGZIP.cpp (-2 / +2 lines)
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)

Return to bug 410333