On 2009-Apr-27 19:14:43 +0000, Tim Kientzle <kient...@freebsd.org> wrote: > ino_t varies across platforms; casting (int) here avoids > various pointless complaints. ... >+ if ((int)archive_entry_ino(entry) > 0777777) {
But if ino_t is larger than int then truncating it to int will lead to false negatives here. I don't believe there are any systems where ino_t is smaller than int so maybe cast the constant to (ino_t) instead. -- Peter Jeremy
pgpAdyACUCgzt.pgp
Description: PGP signature