.Core: Fixed to compile with MSC10

git-svn-id: svn://ultimatepp.org/upp/trunk@4746 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-04-04 06:18:44 +00:00
parent a8b5421522
commit eae577ac29
3 changed files with 1121 additions and 1128 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -235,9 +235,7 @@ void Zlib::End()
Poke32le(h + 4, total);
WhenOut(h, 8);
}
DDUMP(footer.GetCount());
_DBG_ if(0 && gzip && mode == INFLATE &&
if(gzip && mode == INFLATE &&
(footer.GetCount() != 8 || Peek32le(~footer) != (int)crc || Peek32le(~footer + 4) != total)) {
LLOG("ZLIB GZIP FOOTER ERROR");
error = true;