Removed the optional `off' parameter from the [gs]et_[bl]e{16,24,32} functions.

committer: mfx <mfx> 981982200 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2001-02-12 12:50:00 +00:00
parent 475326691d
commit 401567f852
4 changed files with 36 additions and 33 deletions
+4 -1
View File
@@ -949,7 +949,10 @@ char const *Packer::identstr(unsigned &size)
void Packer::initLoader(const void *pdata, int plen, int pinfo)
{
if (pinfo < 0)
pinfo = ~3 & (3 + get_le16(pdata, plen - 2));
{
pinfo = get_le16((const unsigned char *)pdata + plen - 2);
pinfo = (pinfo + 3) &~ 3;
}
delete linker;
if (getFormat() < 128)