From Joakim Simonsson, fixed warning.

This commit is contained in:
Robert Osfield
2008-11-21 12:05:03 +00:00
parent 8eb351d722
commit 6962b9e49f

View File

@@ -227,7 +227,7 @@ bool DataInputStream::uncompress(std::istream& fin, std::string& destination) co
if (ret != Z_OK)
{
osg::notify(osg::INFO)<<"failed to init"<<std::endl;
return ret;
return ret != 0;
}
/* decompress until deflate stream ends or end of file */