fix compiler warnings

This commit is contained in:
John Safranek
2012-08-14 13:51:56 -07:00
parent 9d912970c8
commit c42792e0f1
3 changed files with 3 additions and 3 deletions

View File

@ -1430,7 +1430,6 @@ CYASSL_LOCAL int IsAtLeastTLSv1_2(const CYASSL* ssl);
CYASSL_LOCAL void ShrinkInputBuffer(CYASSL* ssl, int forcedFree);
CYASSL_LOCAL void ShrinkOutputBuffer(CYASSL* ssl);
CYASSL_LOCAL int SendHelloVerifyRequest(CYASSL* ssl);
CYASSL_LOCAL Signer* GetCA(void* cm, byte* hash);
CYASSL_LOCAL void BuildTlsFinished(CYASSL* ssl, Hashes* hashes,
const byte* sender);

View File

@ -17,7 +17,7 @@
#include <ws2tcpip.h>
#include <wspiapi.h>
#endif
#define SOCKET_T int
#define SOCKET_T unsigned int
#else
#include <string.h>
#include <unistd.h>
@ -36,7 +36,7 @@
#ifdef TEST_IPV6
#include <netdb.h>
#endif
#define SOCKET_T unsigned int
#define SOCKET_T int
#endif /* USE_WINDOWS_API */
#ifdef _MSC_VER

View File

@ -2130,6 +2130,7 @@ static int DoHandShakeMsgType(CYASSL* ssl, byte* input, word32* inOutIdx,
byte type, word32 size, word32 totalSz)
{
int ret = 0;
(void)totalSz;
CYASSL_ENTER("DoHandShakeMsgType");