mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
make compile slightly happier on const-zealous compilers
svn:r5015
This commit is contained in:
parent
2689cb081b
commit
c1a6940e73
@ -420,9 +420,9 @@ smartlist_bsearch(smartlist_t *sl, const void *key,
|
||||
}
|
||||
|
||||
static int
|
||||
_compare_string_ptrs(void **_a, void **_b)
|
||||
_compare_string_ptrs(const void **_a, const void **_b)
|
||||
{
|
||||
return strcmp((char*)*_a, (char*)*_b);
|
||||
return strcmp((const char*)*_a, (const char*)*_b);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user