Avoid some compiler warnings.

committer: mfx <mfx> 968567027 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-09-10 06:23:47 +00:00
parent a4522627e0
commit 65601b5c26
9 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -446,7 +446,7 @@ void PackLinuxI386elf::unpack(OutputFile *fo)
off_t ptload0hi=0, ptload1lo=0;
// decompress PT_LOAD
fi->seek(-(2*4 + ph.c_len), SEEK_CUR);
fi->seek(- (off_t) (2*4 + ph.c_len), SEEK_CUR);
for (unsigned j=0; j < ehdr->e_phnum; ++phdr, ++j) {
if (PT_LOAD==phdr->p_type) {
if (0==ptload0hi) {