]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
fix compiler warnings on 64 bit machines.
authorNathan Scott <nathans@sgi.com>
Mon, 15 Oct 2001 09:03:17 +0000 (09:03 +0000)
committerNathan Scott <nathans@sgi.com>
Mon, 15 Oct 2001 09:03:17 +0000 (09:03 +0000)
imap/xfs_imap.c

index 56146e019d26b390e9817efd972f60aaf9915e3f..974e75958b6b8bac8b635d881aeab092593a63ab 100644 (file)
@@ -86,9 +86,10 @@ int main(int argc, char **argv)
                if (count == 0)
                        return 0;
                for (i = 0; i < count; i++) {
-                       printf("ino %10lld count %2d mask %016llx\n",
-                               t[i].xi_startino, t[i].xi_alloccount,
-                               t[i].xi_allocmask);
+                       printf("ino %10llu count %2d mask %016llx\n",
+                               (unsigned long long)t[i].xi_startino,
+                               t[i].xi_alloccount,
+                               (unsigned long long)t[i].xi_allocmask);
                }
        }
        perror("ioctl(XFS_IOC_FSINUMBERS)");