summaryrefslogtreecommitdiffstats
path: root/src/mergesort.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mergesort.c')
-rw-r--r--src/mergesort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mergesort.c b/src/mergesort.c
index aa05f8e..fb08d29 100644
--- a/src/mergesort.c
+++ b/src/mergesort.c
@@ -56,7 +56,7 @@ static int merge(struct stream * const dest, struct stream * const A, struct str
b = B->get(B, &b_store);
while (a || b) {
- if (a && (!b || is_less_equal(a_store.val, b_store.val))) {
+ if (a && (!b || a_store.val <= b_store.val)) {
dest->put(dest, a);
a = A->get(A, &a_store);
} else {