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
@@ -185,7 +185,7 @@ void PackUnix::pack(OutputFile *fo)
// write packheader
const int hsize = ph.getPackHeaderSize();
set_le32(obuf, ph.magic); // note: always le32
set_le32(obuf, UPX_MAGIC_LE32); // note: always le32
patchPackHeader(obuf, hsize);
fo->write(obuf, hsize);