summaryrefslogtreecommitdiff
path: root/lib/hostip6.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-07-21 06:21:46 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-07-21 06:21:46 +0000
commit5cdbd0cf4a23826b8f7b74bbc071afb6515e3aab (patch)
tree6ffb85d3e04e13dd2b3d2d297bb747a5d18c8c83 /lib/hostip6.c
parenta55c70d4ae88a15d9a7f726267fa27fe638496a5 (diff)
downloadcurl-5cdbd0cf4a23826b8f7b74bbc071afb6515e3aab.tar.gz
Constify arguments to Curl_he2ai() and Curl_addrinfo_copy().
Diffstat (limited to 'lib/hostip6.c')
-rw-r--r--lib/hostip6.c4
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