#2995455: Make NSIS embedded inflate function compatible with zlib

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6088 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
f0rt 2010-05-10 17:44:52 +00:00
parent 37cb17f3cc
commit 7a99fafa68

View file

@ -428,7 +428,7 @@ int ZEXPORT inflate(z_streamp z)
}
break;
case LENS:
NEEDBITS(16)
NEEDBITS(32)
s->sub.left = (uInt)b & 0xffff;
b = k = 0; /* dump bits */
Tracev((stderr, _T("inflate: stored length %u\n"), s->sub.left));