aboutsummaryrefslogtreecommitdiff
path: root/src/feature/client/addressmap.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-04-30 06:17:18 +1000
committerteor <teor@torproject.org>2020-04-30 06:54:42 +1000
commitcd7e2fc210349615c8e9cdb879f98cb0c9cac57b (patch)
tree60b9ddd3c3c1c60b64b1d643e7ef3dbfa8f8ec65 /src/feature/client/addressmap.c
parentf62b051e873aa4be564e9f83745902d4541f79f4 (diff)
downloadtor-cd7e2fc210349615c8e9cdb879f98cb0c9cac57b.tar.gz
tor-cd7e2fc210349615c8e9cdb879f98cb0c9cac57b.zip
net: Make all address bytes functions take uint8_t *
Part of 33817.
Diffstat (limited to 'src/feature/client/addressmap.c')
-rw-r--r--src/feature/client/addressmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/client/addressmap.c b/src/feature/client/addressmap.c
index cc97166f36..9ad2d7f934 100644
--- a/src/feature/client/addressmap.c
+++ b/src/feature/client/addressmap.c
@@ -902,7 +902,7 @@ get_random_virtual_addr(const virtual_addr_conf_t *conf, tor_addr_t *addr_out)
}
if (ipv6)
- tor_addr_from_ipv6_bytes(addr_out, (char*) bytes);
+ tor_addr_from_ipv6_bytes(addr_out, bytes);
else
tor_addr_from_ipv4n(addr_out, get_uint32(bytes));