X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=show-index.c;h=7253991fff9f6240ee6413986dfc66cfa3ff184e;hb=79f43f3de8d992f141e1b08ab8f7bce5e66947f9;hp=57ed9e87b7fca6c899d4c23d709a97dabce28106;hpb=11bb2d4fa9ebc7481828c25752d8c23233b24c76;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)); }