From 781c8b0253daca068f9ae406b171692524c74cfc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 24 Feb 2016 18:01:15 +0100 Subject: fix terrible mistake in bsearch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/stdlib/bsearch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stdlib') diff --git a/src/stdlib/bsearch.c b/src/stdlib/bsearch.c index c459ea4..50e0922 100644 --- a/src/stdlib/bsearch.c +++ b/src/stdlib/bsearch.c @@ -48,7 +48,8 @@ void* (bsearch)(const void* sought, const void* list, size_t n, size_t width, int (*compar)(const void*, const void*)) { - int cmp, i; + int cmp; + size_t i; char* test; if (n == 0) return NULL; -- cgit v1.2.3-70-g09d2