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/test | |
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/test')
-rw-r--r-- | src/test/test_address.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_address.c b/src/test/test_address.c index e068c99d97..4cedbda347 100644 --- a/src/test/test_address.c +++ b/src/test/test_address.c @@ -460,7 +460,7 @@ test_address_ifreq_to_smartlist(void *arg) ifc->ifc_len = sizeof(struct ifreq); ifc->ifc_ifcu.ifcu_req = ifr; - results = ifreq_to_smartlist(ifc->ifc_buf,ifc->ifc_len); + results = ifreq_to_smartlist((const uint8_t *)ifc->ifc_buf,ifc->ifc_len); tt_int_op(smartlist_len(results),OP_EQ,1); tor_addr = smartlist_get(results, 0); @@ -483,7 +483,7 @@ test_address_ifreq_to_smartlist(void *arg) SMARTLIST_FOREACH(results, tor_addr_t *, t, tor_free(t)); smartlist_free(results); - results = ifreq_to_smartlist(ifc->ifc_buf,ifc->ifc_len); + results = ifreq_to_smartlist((const uint8_t *)ifc->ifc_buf,ifc->ifc_len); tt_int_op(smartlist_len(results),OP_EQ,2); tor_addr = smartlist_get(results, 0); |