--- np2/win9x/sstp.cpp 2005/03/20 13:12:49 1.5 +++ np2/win9x/sstp.cpp 2011/02/17 10:36:05 1.7 @@ -1,10 +1,11 @@ -#include "compiler.h" -#include -#include "np2.h" -#include "scrnmng.h" -#include "sstp.h" +#include "compiler.h" +#include +#include +#include "np2.h" +#include "scrnmng.h" +#include "sstp.h" #if defined(OSLANG_UTF8) || defined(OSLANG_UCS2) -#include "oemtext.h" +#include "oemtext.h" #endif @@ -105,7 +106,7 @@ sstp_senderror:; void sstp_connect(void) { if (hSocket != INVALID_SOCKET) { - send(hSocket, sstpstr, strlen(sstpstr), 0); + send(hSocket, sstpstr, (int)strlen(sstpstr), 0); } } @@ -208,7 +209,7 @@ BOOL sstp_sendonly(const OEMCHAR *msg) { #else OEMSPRINTF(msgstr, sendermes, msg); #endif - send(lSocket, msgstr, strlen(msgstr), 0); + send(lSocket, msgstr, (int)strlen(msgstr), 0); ret = SUCCESS; } closesocket(lSocket);