]> git.mxchange.org Git - flightgear.git/commitdiff
Use int instead of socklen_t.
authorcurt <curt>
Sat, 29 May 1999 13:03:43 +0000 (13:03 +0000)
committercurt <curt>
Sat, 29 May 1999 13:03:43 +0000 (13:03 +0000)
Tools/Construct/Parallel/server.cxx

index f3e64c5c45317ad369dced42e1d14680b5a7b757..fe53a61757fc64bacf6179d3f05288dc588de003 100644 (file)
@@ -31,7 +31,7 @@ static bool first_time = false;
 int make_socket (unsigned short int* port) {
     int sock;
     struct sockaddr_in name;
-    socklen_t length;
+    int length;
      
     // Create the socket.
     sock = socket (PF_INET, SOCK_STREAM, 0);