mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
cast for g++ warning
This commit is contained in:
@@ -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 */
|
/* Probably a TCP socket. peer and peerSz MUST be NULL and 0 */
|
||||||
}
|
}
|
||||||
else if (!dtlsCtx->connected) {
|
else if (!dtlsCtx->connected) {
|
||||||
peer = dtlsCtx->peer.sa;
|
peer = (const SOCKADDR_S*)dtlsCtx->peer.sa;
|
||||||
peerSz = dtlsCtx->peer.sz;
|
peerSz = dtlsCtx->peer.sz;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user