Silence some compilation warnings.

This commit is contained in:
Markus F.X.J. Oberhumer
2010-10-23 11:40:41 +02:00
parent 7b8779f534
commit a094332b0d
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -327,7 +327,9 @@ void PackTmt::unpack(OutputFile *fo)
{
Filter ft(ph.level);
ft.init(ph.filter, 0);
ft.cto = (unsigned char) (ph.version < 11 ? (get_le32(obuf+ph.u_len-12) >> 24) : ph.filter_cto);
ft.cto = (unsigned char) ph.filter_cto;
if (ph.version < 11)
ft.cto = (unsigned char) (get_le32(obuf+ph.u_len-12) >> 24);
ft.unfilter(obuf, ptr_diff(relocs, obuf));
}