Skip to content

Commit f9b24de

Browse files
author
hmohide
committed
Update the UINT16 to USHORT to resolve the reported build error
1 parent 1d43741 commit f9b24de

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/wolfio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2703,7 +2703,7 @@ void wolfSSL_SetIO_NetX(WOLFSSL* ssl, NX_TCP_SOCKET* nxsocket, ULONG waitoption)
27032703
}
27042704
}
27052705

2706-
void wolfSSL_SetIO_NetX_Dtls(WOLFSSL* ssl, NX_UDP_SOCKET* nxsocket, NXD_ADDRESS *nxdip, UINT16 *nxport, ULONG waitoption)
2706+
void wolfSSL_SetIO_NetX_Dtls(WOLFSSL* ssl, NX_UDP_SOCKET* nxsocket, NXD_ADDRESS *nxdip, USHORT *nxport, ULONG waitoption)
27072707
{
27082708
if (ssl) {
27092709
ssl->nxCtx.nxUdpSocket = nxsocket;

wolfssl/internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5686,7 +5686,7 @@ typedef struct DtlsMsg {
56865686
ULONG nxOffset; /* offset already read from nxPacket */
56875687
ULONG nxWait; /* wait option flag */
56885688
NXD_ADDRESS* nxdIp; /* IP address for udp send*/
5689-
UINT16* nxPort; /* Port number for udp recv*/
5689+
USHORT* nxPort; /* Port number for udp recv*/
56905690
} NetX_Ctx;
56915691

56925692
#endif

wolfssl/wolfio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ WOLFSSL_API void wolfSSL_SetIOWriteFlags(WOLFSSL* ssl, int flags);
793793
ULONG waitoption);
794794
WOLFSSL_API void wolfSSL_SetIO_NetX_Dtls(WOLFSSL* ssl, NX_UDP_SOCKET* nxsocket,
795795
NXD_ADDRESS *nxdip,
796-
UINT16* nxport,
796+
USHORT* nxport,
797797
ULONG waitoption);
798798
#endif /* HAVE_NETX */
799799

0 commit comments

Comments
 (0)