When compiling as c++ (a misconfiguration but still potentially useful info), I found that these implicit casts are an error (via clang on mac). This may not be relevant to the code, but figured I would leave this here for posterity in case anyone needs to, or in case this is useful upstream. Feel free to close this either way.
However, C follows C rules. If this project had used C++, I would have made ub_bsearch a function template. Writing a lot of casts is not good in either C or C++.
Hi, thanks for the great library!
When compiling as c++ (a misconfiguration but still potentially useful info), I found that these implicit casts are an error (via clang on mac). This may not be relevant to the code, but figured I would leave this here for posterity in case anyone needs to, or in case this is useful upstream. Feel free to close this either way.