summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclStubInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index fedce5e..8b6e22b 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -125,7 +125,7 @@ TclWinSetSockOpt(void *s, int level, int optname,
static int
TclWinGetSockOpt(void *s, int level, int optname,
- char *optval, int optlen)
+ char *optval, int *optlen)
{
return getsockopt((int) s, level, optname, optval, optlen);
}