From 56f20e30636c16fd14205ba7c29cf8089caa1260 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Sun, 14 Mar 2021 03:16:02 +0200 Subject: revert higher-than-64-bits support. Too much hassle to actually pretty-print that crap out. Signed-off-by: Gediminas Jakutis --- src/mergesort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mergesort.c') 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 { -- cgit v1.2.3