From 57fab3df7dee0c6d5b49eabfcdb8bb548b15c35b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 20 Dec 2003 07:33:12 +0000 Subject: [PATCH] Fri Dec 19 23:27:45 2003 Ben Pfaff * algorithm.c: (binary_search) Fix assertion. --- src/ChangeLog | 4 ++++ src/algorithm.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 15076a0d..e72f20ae 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +Fri Dec 19 23:27:45 2003 Ben Pfaff + + * algorithm.c: (binary_search) Fix assertion. + Fri Dec 19 21:31:48 2003 Ben Pfaff * sysfile-info.c: (compare_vectors_by_name) Rewrite. diff --git a/src/algorithm.c b/src/algorithm.c index c6bdae27..66be93d6 100644 --- a/src/algorithm.c +++ b/src/algorithm.c @@ -338,7 +338,7 @@ binary_search (const void *array, size_t count, size_t size, { assert (array != NULL); assert (count <= INT_MAX); - assert (aux != NULL); + assert (compare != NULL); if (count != 0) { -- 2.30.2