summaryrefslogtreecommitdiff
path: root/src/common/address.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-10-07 06:31:08 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-10-07 06:31:08 +0200
commit34546e2573d4eea02f3622d3d8d27ef0b545974d (patch)
treed5977c9894b795cb7eebcd71768aa77a94515faa /src/common/address.c
parent99062c4003ad9ec35fe84842f692047cc12477df (diff)
downloadtor-34546e2573d4eea02f3622d3d8d27ef0b545974d.tar.gz
tor-34546e2573d4eea02f3622d3d8d27ef0b545974d.zip
Fix a compile warning on OSX 10.6
Diffstat (limited to 'src/common/address.c')
-rw-r--r--src/common/address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c
index c35f04c18b..dcc32f1aed 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -311,7 +311,7 @@ tor_addr_is_internal(const tor_addr_t *addr, int for_listening)
* brackets.
*/
const char *
-tor_addr_to_str(char *dest, const tor_addr_t *addr, int len, int decorate)
+tor_addr_to_str(char *dest, const tor_addr_t *addr, size_t len, int decorate)
{
const char *ptr;
tor_assert(addr && dest);