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:
@@ -115,7 +115,7 @@ int RageFileObjInflate::ReadInternal( void *buf, size_t bytes )
|
|||||||
m_pInflate->avail_out = bytes;
|
m_pInflate->avail_out = bytes;
|
||||||
|
|
||||||
|
|
||||||
int err = inflate( m_pInflate, Z_PARTIAL_FLUSH );
|
int err = inflate( m_pInflate, Z_SYNC_FLUSH );
|
||||||
switch( err )
|
switch( err )
|
||||||
{
|
{
|
||||||
case Z_DATA_ERROR:
|
case Z_DATA_ERROR:
|
||||||
|
|||||||
Reference in New Issue
Block a user