]> git.saurik.com Git - apple/system_cmds.git/blobdiff - gcore.tproj/sparse.c
system_cmds-880.100.5.tar.gz
[apple/system_cmds.git] / gcore.tproj / sparse.c
index ad5d91725952c19c9d31a01b52f3ca069c7bef5c..c62b9f3f4dfc7deae8f7d569b637eced543b4c37 100644 (file)
@@ -160,13 +160,14 @@ add_subregions_for_libent(
 
                 if (OPTIONS_DEBUG(opt, 2)) {
                     hsize_str_t hstr;
-                    printr(r, "subregion %llx-%llx %7s %12s\t%s [%s off %zd for %zd nsects %u flags %x]\n",
+                    printr(r, "subregion %llx-%llx %7s %12s\t%s [%s off %lu for %lu nsects %u flags %x]\n",
                            S_ADDR(s), S_ENDADDR(s),
                            str_hsize(hstr, S_SIZE(s)),
                            sc->segname,
                            S_FILENAME(s),
                            str_prot(sc->initprot),
-                           sc->fileoff, sc->filesize,
+                           (unsigned long)sc->fileoff,
+                           (unsigned long)sc->filesize,
                            sc->nsects, sc->flags);
                 }
                 break;