diff options
author | teor <teor@torproject.org> | 2020-04-30 06:17:18 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-30 06:54:42 +1000 |
commit | cd7e2fc210349615c8e9cdb879f98cb0c9cac57b (patch) | |
tree | 60b9ddd3c3c1c60b64b1d643e7ef3dbfa8f8ec65 /src/feature/client/addressmap.c | |
parent | f62b051e873aa4be564e9f83745902d4541f79f4 (diff) | |
download | tor-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.c | 2 |
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)); |