X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/887d5eedc67e1d6b5933393070e765bc7739453c..HEAD:/gcore.tproj/sparse.c?ds=sidebyside diff --git a/gcore.tproj/sparse.c b/gcore.tproj/sparse.c index ad5d917..c62b9f3 100644 --- a/gcore.tproj/sparse.c +++ b/gcore.tproj/sparse.c @@ -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;