New ACC version.

committer: mfx <mfx> 1109674986 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2005-03-01 11:03:06 +00:00
parent 044d6b2ce2
commit 3547c71ad5
5 changed files with 843 additions and 764 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ static void handle_allegropak(InputFile *fi, OutputFile *fo)
if (memcmp(buf, "slh+", 4) != 0)
return;
pfsize = get_be32_signed(buf+4);
if (pfsize <= 8 || pfsize >= fi->st.st_size)
if (pfsize <= 8 || (off_t) pfsize >= (off_t) fi->st.st_size)
return;
fi->seek(-pfsize, SEEK_END);
} catch (const IOException&) {