X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fbind.c;h=b974d63c8aec6a1d04d2e693f0a336fa1e9ce81c;hb=8d53196a5a3408315e6ed3410973d3bd16a8a3e9;hp=1e2cb2d7e493db2c08375a4f7ca98bc9d26b8090;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/lib/bind.c b/lib/bind.c index 1e2cb2d7e..b974d63c8 100644 --- a/lib/bind.c +++ b/lib/bind.c @@ -1,6 +1,6 @@ /* bind.c --- wrappers for Windows bind function - Copyright (C) 2008, 2009 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 bind int -rpl_bind (int fd, struct sockaddr *sockaddr, int len) +rpl_bind (int fd, const struct sockaddr *sockaddr, socklen_t len) { SOCKET sock = FD_TO_SOCKET (fd); int r = bind (sock, sockaddr, len);