Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dp/autoconf-curl-ssl'
[gitweb.git]
/
refs
/
files-backend.c
diff --git
a/refs/files-backend.c
b/refs/files-backend.c
index 0709f60b8e8c43fa830c0e678fdf7b83435535bb..d16feb19c57b1b74594947f8730b984e94c43def 100644
(file)
--- a/
refs/files-backend.c
+++ b/
refs/files-backend.c
@@
-501,7
+501,7
@@
static void sort_ref_dir(struct ref_dir *dir)
if (dir->sorted == dir->nr)
return;
-
qsort(dir->entries, dir->nr, sizeof(*dir->entries)
, ref_entry_cmp);
+
QSORT(dir->entries, dir->nr
, ref_entry_cmp);
/* Remove any duplicates: */
for (i = 0, j = 0; j < dir->nr; j++) {