diff options
Diffstat (limited to 'lib/hostip6.c')
-rw-r--r-- | lib/hostip6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip6.c b/lib/hostip6.c index 3d80166c1..7c17a1576 100644 --- a/lib/hostip6.c +++ b/lib/hostip6.c @@ -104,10 +104,10 @@ void Curl_freeaddrinfo(Curl_addrinfo *p) * address. But this is an ipv6 build and then we don't copy the address, we * just return the same pointer! */ -Curl_addrinfo *Curl_addrinfo_copy(void *source, int port) +Curl_addrinfo *Curl_addrinfo_copy(const void *orig, int port) { (void) port; - return source; + return (Curl_addrinfo*)orig; } #endif |