Portability updates.

committer: mfx <mfx> 1042930101 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-01-18 22:48:21 +00:00
parent 5eb81c0ec4
commit e387c6bc56
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ void PackLinuxI386elf::pack1(OutputFile *fo, Filter &)
assert(ehdri.e_phoff == sizeof(Elf_LE32_Ehdr)); // checked by canPack()
sz_phdrs = ehdri.e_phnum * ehdri.e_phentsize;
phdri = new Elf_LE32_Phdr[ehdri.e_phnum];
phdri = new Elf_LE32_Phdr[(unsigned)ehdri.e_phnum];
fi->seek(ehdri.e_phoff, SEEK_SET);
fi->readx(phdri, sz_phdrs);