Subversion Repositories tpanel

Rev

Rev 446 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 446 Rev 482
Line 95... Line 95...
95
		return ret;
95
		return ret;
96
	}
96
	}
97
 
97
 
98
	do
98
	do
99
	{
99
	{
100
		strm.avail_in = fread(in, 1, CHUNK, source);
100
		strm.avail_in = static_cast<uint>(fread(in, 1, CHUNK, source));
101
 
101
 
102
		if (ferror(source))
102
		if (ferror(source))
103
		{
103
		{
104
			(void)inflateEnd(&strm);
104
			(void)inflateEnd(&strm);
105
			cerr << "Error reading from file " << fname << "!" << endl;
105
			cerr << "Error reading from file " << fname << "!" << endl;