src/packer.cpp: fix bug in constructor introduced during cleanup
Introduced in 10e759f1f1
This commit is contained in:
parent
e93172bd33
commit
38d6cb090c
@ -36,7 +36,7 @@
|
|||||||
//
|
//
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
PackerBase::PackerBase(InputFile *f) : fi(f), file_size(f ? f->st.st_size : 0) {
|
PackerBase::PackerBase(InputFile *f) : fi(f), file_size(f ? f->st_size() : 0) {
|
||||||
ph.reset();
|
ph.reset();
|
||||||
mem_size_assert(1, file_size);
|
mem_size_assert(1, file_size);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user