summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 979b90e15c..458b613756 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -6532,7 +6532,7 @@ signbit(double x)
#endif
/* License: Ruby's */
-char * WSAAPI
+const char * WSAAPI
rb_w32_inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len)
{
typedef char *(WSAAPI inet_ntop_t)(int, void *, char *, size_t);