summaryrefslogtreecommitdiff
path: root/src/tsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tsort.c')
-rw-r--r--src/tsort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tsort.c b/src/tsort.c
index 6a517025d..5dd99cc6e 100644
--- a/src/tsort.c
+++ b/src/tsort.c
@@ -68,7 +68,7 @@ static int binsearch(void **dst, const void *x, size_t size, cmp_ptr_t cmp)
}
}
-/* Binary insertion sort, but knowing that the first "start" entries are sorted. Used in timsort. */
+/* Binary insertion sort, but knowing that the first "start" entries are sorted. Used in timsort. */
static void bisort(void **dst, size_t start, size_t size, cmp_ptr_t cmp)
{
size_t i;
@@ -207,7 +207,7 @@ static void merge(void **dst, const struct tsort_run *stack, int stack_curr, str
if (resize(store, MIN(A, B)) < 0)
return;
- storage = store->storage;
+ storage = store->storage;
/* left merge */
if (A < B) {