From: janhauer Date: Wed, 23 Apr 2008 09:50:01 +0000 (+0000) Subject: small fix pointed out by Axel Poigné: third parameter to accept should be of type... X-Git-Tag: release_tinyos_2_1_0_0~456 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=a1fa7240e177bd8e4ef507d0bc683e355df22faa small fix pointed out by Axel Poigné: third parameter to accept should be of type socklen_t (this is relevant under cygwin only) --- diff --git a/support/sdk/cpp/sf/sfcontrol.cpp b/support/sdk/cpp/sf/sfcontrol.cpp index c4758a25..4cfeac4b 100644 --- a/support/sdk/cpp/sf/sfcontrol.cpp +++ b/support/sdk/cpp/sf/sfcontrol.cpp @@ -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)