]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Fix parent.c compile warnings on ia64.
authorNathan Scott <nathans@sgi.com>
Fri, 5 May 2006 03:58:39 +0000 (03:58 +0000)
committerNathan Scott <nathans@sgi.com>
Fri, 5 May 2006 03:58:39 +0000 (03:58 +0000)
Merge of master-melb:xfs-cmds:25891a by kenmcd.

io/parent.c

index c58d582a6d0bfb8147596da8fc75c1eebb12a249..6f429b7e49d801fb8c405dfa290ad516ad727692 100644 (file)
@@ -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;