summaryrefslogtreecommitdiff
path: root/examples/index-pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/index-pack.c')
-rw-r--r--examples/index-pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/index-pack.c b/examples/index-pack.c
index 2181f43f3..c58ac038a 100644
--- a/examples/index-pack.c
+++ b/examples/index-pack.c
@@ -7,7 +7,7 @@
static int index_cb(const git_indexer_progress *stats, void *data)
{
(void)data;
- printf("\rProcessing %d of %d", stats->indexed_objects, stats->total_objects);
+ printf("\rProcessing %u of %u", stats->indexed_objects, stats->total_objects);
return 0;
}
@@ -59,7 +59,7 @@ int lg2_index_pack(git_repository *repo, int argc, char **argv)
if ((error = git_indexer_commit(idx, &stats)) < 0)
goto cleanup;
- printf("\rIndexing %d of %d\n", stats.indexed_objects, stats.total_objects);
+ printf("\rIndexing %u of %u\n", stats.indexed_objects, stats.total_objects);
git_oid_fmt(hash, git_indexer_hash(idx));
puts(hash);