From: Nathan Scott Date: Fri, 5 May 2006 03:58:39 +0000 (+0000) Subject: Fix parent.c compile warnings on ia64. X-Git-Tag: v2.8.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5acc4dfe86936a253ef13bf4183bbee1678dfeaf;p=thirdparty%2Fxfsprogs-dev.git Fix parent.c compile warnings on ia64. Merge of master-melb:xfs-cmds:25891a by kenmcd. --- diff --git a/io/parent.c b/io/parent.c index c58d582a6..6f429b7e4 100644 --- a/io/parent.c +++ b/io/parent.c @@ -76,13 +76,14 @@ check_parent_entry(xfs_bstat_t *bstatp, parent_t *parent) fprintf(stderr, _("ino mismatch for path \"%s\" %llu vs %llu\n"), fullpath, - statbuf.st_ino, - bstatp->bs_ino); + (unsigned long long)statbuf.st_ino, + (unsigned long long)bstatp->bs_ino); } err_status++; return; } else if (verbose_flag > 1) { - printf(_("inode number match: %llu\n"), statbuf.st_ino); + printf(_("inode number match: %llu\n"), + (unsigned long long)statbuf.st_ino); } /* get parent path */ @@ -105,8 +106,8 @@ check_parent_entry(xfs_bstat_t *bstatp, parent_t *parent) fprintf(stderr, _("ino mismatch for path \"%s\" %llu vs %llu\n"), fullpath, - parent->p_ino, - statbuf.st_ino); + (unsigned long long)parent->p_ino, + (unsigned long long)statbuf.st_ino); } err_status++; return;