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:
parent
ff03ac17b2
commit
041947507f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user