Align libmonoutils vcxproj with makefile.
[mono.git] / mono / utils / bsearch.c
index 47be44419ae42b1c98341dd2dc4c4c627dcb6156..d568706c1cd21dfc1d278c3284705e8ab0ed1bcf 100644 (file)
@@ -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;