initLoader() 4th parameter allows larger output size

modified:   packer.cpp
	modified:   packer.h
This commit is contained in:
John Reiser
2023-01-05 15:28:12 -08:00
committed by Markus F.X.J. Oberhumer
parent 99575e1010
commit 39442e6282
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1011,11 +1011,11 @@ static const char *getIdentstr(unsigned *size, int small) {
}
}
void Packer::initLoader(const void *pdata, int plen, int small) {
void Packer::initLoader(const void *pdata, int plen, int small, int pextra) {
delete linker;
linker = newLinker();
assert(bele == linker->bele);
linker->init(pdata, plen);
linker->init(pdata, plen, pextra);
unsigned size;
char const *const ident = getIdentstr(&size, small);