diff --git a/src/wolfio.c b/src/wolfio.c index 1f43e73da..f7eb93e80 100644 --- a/src/wolfio.c +++ b/src/wolfio.c @@ -517,7 +517,7 @@ int EmbedSendTo(WOLFSSL* ssl, char *buf, int sz, void *ctx) const SOCKADDR_S* peer = NULL; XSOCKLENT peerSz = 0; int type; - XSOCKLENT length = sizeof( XSOCKLENT ); + XSOCKLENT length = sizeof(int); /* optvalue 'type' is of size int */ WOLFSSL_ENTER("EmbedSendTo()");