]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
socklen_t is "int" in the Winsocks API
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 14 Sep 2004 06:19:00 +0000 (06:19 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 14 Sep 2004 06:19:00 +0000 (06:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4496 d7cf8633-e32d-0410-b094-e92efae38249

lhnet.c

diff --git a/lhnet.c b/lhnet.c
index 259928e718dc6b8d085ccd5b720aff9f6a3e92c9..ede0e7e2fd1c3032f101a5697680394e157f2e97 100644 (file)
--- a/lhnet.c
+++ b/lhnet.c
@@ -460,7 +460,7 @@ lhnetsocket_t *LHNET_OpenSocket_Connectionless(lhnetaddress_t *address)
 #endif
                                        {
 #ifdef WIN32
-                                               size_t namelen;
+                                               int namelen;
 #else
                                                socklen_t namelen;
 #endif