summaryrefslogtreecommitdiff
path: root/ext/socket/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r--ext/socket/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c
index 4cef1c81c4..37315629f2 100644
--- a/ext/socket/option.c
+++ b/ext/socket/option.c
@@ -437,7 +437,7 @@ inspect_timeval_as_interval(int level, int optname, VALUE data, VALUE ret)
*/
#ifndef HAVE_INET_NTOP
-static char *
+static const char *
inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len)
{
#ifdef HAVE_INET_NTOA