Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
coccicheck: use --all-includes by default
[gitweb.git]
/
pack-check.c
diff --git
a/pack-check.c
b/pack-check.c
index d123846ea2be7c34360049864aeb3a88f505dfd1..72440a8fce14043e73e4fc40e18fee5ddd3dbc54 100644
(file)
--- a/
pack-check.c
+++ b/
pack-check.c
@@
-99,7
+99,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;