diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-10-07 06:31:08 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-10-07 06:31:08 +0200 |
commit | 34546e2573d4eea02f3622d3d8d27ef0b545974d (patch) | |
tree | d5977c9894b795cb7eebcd71768aa77a94515faa /src/common/address.h | |
parent | 99062c4003ad9ec35fe84842f692047cc12477df (diff) | |
download | tor-34546e2573d4eea02f3622d3d8d27ef0b545974d.tar.gz tor-34546e2573d4eea02f3622d3d8d27ef0b545974d.zip |
Fix a compile warning on OSX 10.6
Diffstat (limited to 'src/common/address.h')
-rw-r--r-- | src/common/address.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.h b/src/common/address.h index 6116bb4b1c..457532d0df 100644 --- a/src/common/address.h +++ b/src/common/address.h @@ -144,7 +144,7 @@ int tor_addr_port_parse(const char *s, tor_addr_t *addr_out, int tor_addr_parse_mask_ports(const char *s, tor_addr_t *addr_out, maskbits_t *mask_out, uint16_t *port_min_out, uint16_t *port_max_out); -const char * tor_addr_to_str(char *dest, const tor_addr_t *addr, int len, +const char * tor_addr_to_str(char *dest, const tor_addr_t *addr, size_t len, int decorate); int tor_addr_from_str(tor_addr_t *addr, const char *src); void tor_addr_copy(tor_addr_t *dest, const tor_addr_t *src); |