fix warning for compilers that don't understand bitfield size

This commit is contained in:
toddouska
2015-03-29 14:18:52 -07:00
parent 500ee73be4
commit e73b76c8ca
2 changed files with 5 additions and 5 deletions

View File

@ -627,9 +627,9 @@ static void InitSuitesHashSigAlgo(Suites* suites, int haveECDSAsig,
suites->hashSigAlgoSz = (word16)idx;
}
void InitSuites(Suites* suites, ProtocolVersion pv, byte haveRSA, byte havePSK,
byte haveDH, byte haveNTRU, byte haveECDSAsig,
byte haveStaticECC, int side)
void InitSuites(Suites* suites, ProtocolVersion pv, word16 haveRSA,
word16 havePSK, word16 haveDH, word16 haveNTRU,
word16 haveECDSAsig, word16 haveStaticECC, int side)
{
word16 idx = 0;
int tls = pv.major == SSLv3_MAJOR && pv.minor >= TLSv1_MINOR;

View File

@ -1046,8 +1046,8 @@ typedef struct Suites {
WOLFSSL_LOCAL
void InitSuites(Suites*, ProtocolVersion,
byte, byte, byte, byte, byte, byte, int);
void InitSuites(Suites*, ProtocolVersion, word16, word16, word16, word16,
word16, word16, int);
WOLFSSL_LOCAL
int SetCipherList(Suites*, const char* list);