]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
small fix pointed out by Axel Poigné: third parameter to accept should be of type...
authorjanhauer <janhauer>
Wed, 23 Apr 2008 09:50:01 +0000 (09:50 +0000)
committerjanhauer <janhauer>
Wed, 23 Apr 2008 09:50:01 +0000 (09:50 +0000)
support/sdk/cpp/sf/sfcontrol.cpp

index c4758a25c1a315cfd5bebedcd16bfca589313fab..4cfeac4bf2ca9cd9ac5fb3455fc434487a1de338 100644 (file)
@@ -495,7 +495,7 @@ void SFControl::waitOnInput()
     bool clientConnected = false;
 
     struct sockaddr_in client;
-    unsigned int clientAddrLen = sizeof(client);
+    socklen_t clientAddrLen = sizeof(client);
     FD_ZERO(&rfds);
 
     while (true)