mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 21:10:49 +02:00
Fixes for minor compiler cast warnings.
This commit is contained in:
+2
-2
@@ -4467,10 +4467,10 @@ int InitSSL_Suites(WOLFSSL* ssl)
|
||||
havePSK = (byte)ssl->options.havePSK;
|
||||
#endif /* NO_PSK */
|
||||
#ifdef HAVE_ANON
|
||||
haveAnon = ssl->options.haveAnon;
|
||||
haveAnon = (byte)ssl->options.haveAnon;
|
||||
#endif /* HAVE_ANON*/
|
||||
#ifdef WOLFSSL_MULTICAST
|
||||
haveMcast = ssl->options.haveMcast;
|
||||
haveMcast = (byte)ssl->options.haveMcast;
|
||||
#endif /* WOLFSSL_MULTICAST */
|
||||
|
||||
#ifdef WOLFSSL_EARLY_DATA
|
||||
|
||||
@@ -971,7 +971,7 @@ int wolfSSL_CTX_mcast_set_member_id(WOLFSSL_CTX* ctx, word16 id)
|
||||
if (ret == 0) {
|
||||
ctx->haveEMS = 0;
|
||||
ctx->haveMcast = 1;
|
||||
ctx->mcastID = id;
|
||||
ctx->mcastID = (byte)id;
|
||||
#ifndef WOLFSSL_USER_IO
|
||||
ctx->CBIORecv = EmbedReceiveFromMcast;
|
||||
#endif /* WOLFSSL_USER_IO */
|
||||
|
||||
Reference in New Issue
Block a user