diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-02-12 14:50:13 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-12 14:50:13 -0500 |
commit | 5644d92dd7081e4a18d7385e68cee907ba67c451 (patch) | |
tree | 328bedd9edf045c47c556b0784165be24e6564c0 /src/test | |
parent | f794a091647050efa97719581f99c453b38074dd (diff) | |
parent | c8ce973dc7787b5fcf3fbe4527a45575b2fdf5d6 (diff) | |
download | tor-5644d92dd7081e4a18d7385e68cee907ba67c451.tar.gz tor-5644d92dd7081e4a18d7385e68cee907ba67c451.zip |
Merge remote-tracking branch 'sebastian/bug14875'
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 7f7347fa88..424a6352b0 100644 --- a/src/test/test_address.c +++ b/src/test/test_address.c @@ -376,7 +376,7 @@ test_address_ifreq_to_smartlist(void *arg) ifc->ifc_len = sizeof(struct ifreq); ifc->ifc_ifcu.ifcu_req = ifr; - results = ifreq_to_smartlist((struct ifreq *)ifc->ifc_buf,ifc->ifc_len); + results = ifreq_to_smartlist(ifc->ifc_buf,ifc->ifc_len); tt_int_op(smartlist_len(results),==,1); tor_addr = smartlist_get(results, 0); @@ -399,7 +399,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((struct ifreq *)ifc->ifc_buf,ifc->ifc_len); + results = ifreq_to_smartlist(ifc->ifc_buf,ifc->ifc_len); tt_int_op(smartlist_len(results),==,2); tor_addr = smartlist_get(results, 0); |