Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/pack-idx-corruption-safety' into maint
[gitweb.git]
/
pack-check.c
diff --git
a/pack-check.c
b/pack-check.c
index c5c7763323156232748314723e39deb92b93fa4e..27f70d345fbf1b339cb4bad1011253cece1bf619 100644
(file)
--- a/
pack-check.c
+++ b/
pack-check.c
@@
-96,7
+96,7
@@
static int verify_packfile(struct packed_git *p,
entries[i].offset = nth_packed_object_offset(p, i);
entries[i].nr = i;
}
-
qsort(entries, nr_objects, sizeof(*entries)
, compare_entries);
+
QSORT(entries, nr_objects
, compare_entries);
for (i = 0; i < nr_objects; i++) {
void *data;