X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=show-index.c;h=7253991fff9f6240ee6413986dfc66cfa3ff184e;hb=328a4750b155df9de29cac007c74e2412d244620;hp=57ed9e87b7fca6c899d4c23d709a97dabce28106;hpb=610f043bb378d12f399f4e5692fb874e0a043b23;p=git.git diff --git a/show-index.c b/show-index.c index 57ed9e87b..7253991ff 100644 --- a/show-index.c +++ b/show-index.c @@ -68,7 +68,7 @@ int main(int argc, char **argv) ntohl(off64[1]); off64_nr++; } - printf("%llu %s (%08x)\n", (unsigned long long) offset, + printf("%" PRIuMAX " %s (%08x)\n", (uintmax_t) offset, sha1_to_hex(entries[i].sha1), ntohl(entries[i].crc)); }