X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=show-index.c;h=45bb535773fd9c36f73502df9462f7de800009c8;hb=a0f4afbe87ddda7902e36350d163dea146166550;hp=7253991fff9f6240ee6413986dfc66cfa3ff184e;hpb=e98d6df75260312e906278705f78f2eee39cc8fc;p=git.git diff --git a/show-index.c b/show-index.c index 7253991ff..45bb53577 100644 --- a/show-index.c +++ b/show-index.c @@ -68,7 +68,8 @@ int main(int argc, char **argv) ntohl(off64[1]); off64_nr++; } - printf("%" PRIuMAX " %s (%08x)\n", (uintmax_t) offset, + printf("%" PRIuMAX " %s (%08"PRIx32")\n", + (uintmax_t) offset, sha1_to_hex(entries[i].sha1), ntohl(entries[i].crc)); }