aboutsummaryrefslogtreecommitdiff
path: root/src/lib/container/smartlist.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-08-29 17:10:06 +0000
committerMike Perry <mikeperry-git@torproject.org>2018-08-29 17:10:06 +0000
commit93ff8b411a2ac8eb6c3b58d90e2476d3e0a372ec (patch)
treee4b73afb2983d0125d30d015169dab217c5d1398 /src/lib/container/smartlist.c
parent810152b20f6d773172e1f28ab72a1d4b2fda2d82 (diff)
parentce894e20b597d2d21b56ac8a8f13d1ea4063731d (diff)
downloadtor-93ff8b411a2ac8eb6c3b58d90e2476d3e0a372ec.tar.gz
tor-93ff8b411a2ac8eb6c3b58d90e2476d3e0a372ec.zip
Merge branch 'ticket25573-034' into ticket25573-master
Diffstat (limited to 'src/lib/container/smartlist.c')
-rw-r--r--src/lib/container/smartlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/container/smartlist.c b/src/lib/container/smartlist.c
index 4b29d834d9..64cabfcc6f 100644
--- a/src/lib/container/smartlist.c
+++ b/src/lib/container/smartlist.c
@@ -408,7 +408,7 @@ smartlist_uniq(smartlist_t *sl,
* less than member, and greater than 0 if key is greater then member.
*/
void *
-smartlist_bsearch(smartlist_t *sl, const void *key,
+smartlist_bsearch(const smartlist_t *sl, const void *key,
int (*compare)(const void *key, const void **member))
{
int found, idx;