diff --git a/lib/socket.cpp b/lib/socket.cpp index cc671985..6f8b37d6 100644 --- a/lib/socket.cpp +++ b/lib/socket.cpp @@ -516,7 +516,7 @@ unsigned int Socket::Connection::iwrite(const void * buffer, int len){ if ( !connected() || len < 1){ return 0; } - unsigned int r; + int r; if (sock >= 0){ r = send(sock, buffer, len, 0); }else{