diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-12 08:29:53 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-12 08:29:53 +0000 |
commit | c1a6940e7364517ab6f29a0134a444194fa6728f (patch) | |
tree | 5dd664d0f8aae5ba844cc8173a51d8ccce3262fd /src/common | |
parent | 2689cb081b4011fea08947e2f7a8f74cd61a1903 (diff) | |
download | tor-c1a6940e7364517ab6f29a0134a444194fa6728f.tar.gz tor-c1a6940e7364517ab6f29a0134a444194fa6728f.zip |
make compile slightly happier on const-zealous compilers
svn:r5015
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/container.c b/src/common/container.c index 1e6d1954d2..8499a56e44 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -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 |