Use UPX_MAGIC_LE32 instead of PackHeader::magic.

committer: mfx <mfx> 977922670 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-12-27 13:11:10 +00:00
parent 0ffe40c621
commit c3ec6b73e5
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -584,7 +584,7 @@ int Packer::patchPackHeader(void *b, int blen)
const int size = ph.getPackHeaderSize();
assert(isValidFilter(ph.filter));
int boff = find_le32(b, blen, ph.magic);
int boff = find_le32(b, blen, UPX_MAGIC_LE32);
checkPatch(b, blen, boff, size);
unsigned char *p = (unsigned char *)b + boff;