Z_PARTIAL_FLUSH is deprecated, pointing to Z_SYNC_FLUSH for

inflate (this doesn't actually do anything in real zlib, anyway)
This commit is contained in:
Glenn Maynard
2007-01-19 02:36:43 +00:00
parent bae94ed8ab
commit 54f83f30e0
+1 -1
View File
@@ -115,7 +115,7 @@ int RageFileObjInflate::ReadInternal( void *buf, size_t bytes )
m_pInflate->avail_out = bytes;
int err = inflate( m_pInflate, Z_PARTIAL_FLUSH );
int err = inflate( m_pInflate, Z_SYNC_FLUSH );
switch( err )
{
case Z_DATA_ERROR: