1
0
mirror of https://github.com/upx/upx synced 2025-10-05 19:20:23 +08:00

Small patch from Jens.

committer: mfx <mfx> 1037131376 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2002-11-12 20:02:56 +00:00
parent ff03ac17b2
commit 041947507f

View File

@ -233,7 +233,7 @@ void PackPs1::pack(OutputFile *fo)
memcpy(loader,getLoader(),lsize); memcpy(loader,getLoader(),lsize);
unsigned pad, pad_code; unsigned pad, pad_code;
pad = ALIGN_UP((cfile_size ? cfile_size : ih.tx_len), 4); pad = ALIGN_DOWN((cfile_size ? cfile_size : ih.tx_len), 4);
pad_code = CHK_ALIGNED(ph.c_len, 4); pad_code = CHK_ALIGNED(ph.c_len, 4);
const unsigned decomp_data_start = NOCACHE(ih.tx_ptr); const unsigned decomp_data_start = NOCACHE(ih.tx_ptr);