aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stdlib/bsearch.c3
1 files changed, 2 insertions, 1 deletions
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;