From 5ab24db9db8a7747c26c8a562595e197b24d9e27 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 11 Apr 2019 19:51:13 -1100 Subject: [PATCH] Another qsort revert --- src/cc/dilithium.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cc/dilithium.c b/src/cc/dilithium.c index 087dfd9f5..5044edf94 100644 --- a/src/cc/dilithium.c +++ b/src/cc/dilithium.c @@ -2718,8 +2718,9 @@ static int cmp_llu(const void *a, const void*b) { if(*(int64_t *)a < *(int64_t *)b) return -1; else if(*(int64_t *)a > *(int64_t *)b) return 1; - else if ( (uint64_t)a < (uint64_t)b ) return -1; - else return 1; + //else if ( (uint64_t)a < (uint64_t)b ) return -1; + //else return 1; + return(0); } static int64_t median(int64_t *l, size_t llen)