]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.c
socklen_t is "int" in the Winsocks API
[xonotic/darkplaces.git] / 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