From 54f83f30e008d63383498e0435ff316a207df65c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 19 Jan 2007 02:36:43 +0000 Subject: [PATCH] Z_PARTIAL_FLUSH is deprecated, pointing to Z_SYNC_FLUSH for inflate (this doesn't actually do anything in real zlib, anyway) --- stepmania/src/RageFileDriverDeflate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageFileDriverDeflate.cpp b/stepmania/src/RageFileDriverDeflate.cpp index 3ad3dbc290..23bcddf7d2 100644 --- a/stepmania/src/RageFileDriverDeflate.cpp +++ b/stepmania/src/RageFileDriverDeflate.cpp @@ -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: