X-Git-Url: https://ruderich.org/simon/gitweb/?p=nsscash%2Fnsscash.git;a=blobdiff_plain;f=nss%2Fsearch.c;h=256001f16e1d19ac4b03706a81dee8266859ffc6;hp=d4f71068003e88c487f4b0c909b441e43330217e;hb=bfa9e0160a19bd7c151720de78749aa817d5986f;hpb=eced3ea09563db280f3ac4392426b23e239fdcca diff --git a/nss/search.c b/nss/search.c index d4f7106..256001f 100644 --- a/nss/search.c +++ b/nss/search.c @@ -50,6 +50,6 @@ static int bsearch_callback(const void *x, const void *y) { } } -uint64_t *search(struct search_key *key, const void *index, uint64_t count) { +uint64_t *search(const struct search_key *key, const void *index, uint64_t count) { return bsearch(key, index, count, sizeof(uint64_t), bsearch_callback); }