X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fbsearch.c;h=d568706c1cd21dfc1d278c3284705e8ab0ed1bcf;hb=1004d95b6b70e8b67a2b6782e0832faab9fa269a;hp=47be44419ae42b1c98341dd2dc4c4c627dcb6156;hpb=811674bc6331c98d33134e2a37a7c7dd66402227;p=mono.git diff --git a/mono/utils/bsearch.c b/mono/utils/bsearch.c index 47be44419ae..d568706c1cd 100644 --- a/mono/utils/bsearch.c +++ b/mono/utils/bsearch.c @@ -1,4 +1,5 @@ -/* +/** + * \file * bsearch () implementation. Needed because some broken platforms * have implementations that have unreasonable, non-standard * requirements (e.g. "key must not be null"). Taken from NetBSD @@ -42,7 +43,7 @@ mono_binary_search ( size_t member_size, BinarySearchComparer comparer) { - const char *base = array; + const char *base = (const char *)array; size_t lim; int cmp; const void *p;