cast for g++ warning

This commit is contained in:
JacobBarthelmeh
2022-07-08 15:11:29 -07:00
parent 983b9fc5fb
commit 7379e377ab

View File

@@ -526,7 +526,7 @@ int EmbedSendTo(WOLFSSL* ssl, char *buf, int sz, void *ctx)
/* Probably a TCP socket. peer and peerSz MUST be NULL and 0 */
}
else if (!dtlsCtx->connected) {
peer = dtlsCtx->peer.sa;
peer = (const SOCKADDR_S*)dtlsCtx->peer.sa;
peerSz = dtlsCtx->peer.sz;
}