summaryrefslogtreecommitdiff
path: root/gl/accept.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/accept.c')
-rw-r--r--gl/accept.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/accept.c b/gl/accept.c
index 8a3079f574..a68f7dcfc0 100644
--- a/gl/accept.c
+++ b/gl/accept.c
@@ -1,6 +1,6 @@
/* accept.c --- wrappers for Windows accept function
- Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2008-2010 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@
#undef accept
int
-rpl_accept (int fd, struct sockaddr *addr, int *addrlen)
+rpl_accept (int fd, struct sockaddr *addr, socklen_t *addrlen)
{
SOCKET fh = accept (FD_TO_SOCKET (fd), addr, addrlen);
if (fh == INVALID_SOCKET)