Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Use run_command for proxy connections
[gitweb.git]
/
builtin-fsck.c
diff --git
a/builtin-fsck.c
b/builtin-fsck.c
index 4d03378c1bea72d3afccb4576a57e6e8a8864bce..b8e71b640b66ebd95a436a5c1c7f3fce0647be0c 100644
(file)
--- a/
builtin-fsck.c
+++ b/
builtin-fsck.c
@@
-648,7
+648,7
@@
int cmd_fsck(int argc, char **argv, const char *prefix)
verify_pack(p, 0);
for (p = packed_git; p; p = p->next) {
-
int
num = num_packed_objects(p);
+
uint32_t i,
num = num_packed_objects(p);
for (i = 0; i < num; i++) {
unsigned char sha1[20];
nth_packed_object_sha1(p, i, sha1);