From 71df83bb75de000dd88930f9da85d36afd04f576 Mon Sep 17 00:00:00 2001 From: Stefan Kieszkowski <85728496+stefankiesz@users.noreply.github.com> Date: Thu, 9 Jan 2025 12:32:37 -0800 Subject: [PATCH] SIZE_T -> size_t --- src/source/Sctp/Sctp.c | 2 +- src/source/Sctp/Sctp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/source/Sctp/Sctp.c b/src/source/Sctp/Sctp.c index 1a1926b956..b753c5f961 100644 --- a/src/source/Sctp/Sctp.c +++ b/src/source/Sctp/Sctp.c @@ -269,7 +269,7 @@ STATUS sctpSessionWriteDcep(PSctpSession pSctpSession, UINT32 streamId, PCHAR pC return retStatus; } -INT32 onSctpOutboundPacket(PVOID addr, PVOID data, SIZE_T length, UINT8 tos, UINT8 set_df) +INT32 onSctpOutboundPacket(PVOID addr, PVOID data, size_t length, UINT8 tos, UINT8 set_df) { UNUSED_PARAM(tos); UNUSED_PARAM(set_df); diff --git a/src/source/Sctp/Sctp.h b/src/source/Sctp/Sctp.h index d5d15faf3d..c156e94dfe 100644 --- a/src/source/Sctp/Sctp.h +++ b/src/source/Sctp/Sctp.h @@ -76,7 +76,7 @@ STATUS sctpSessionWriteMessage(PSctpSession, UINT32, BOOL, PBYTE, UINT32); STATUS sctpSessionWriteDcep(PSctpSession, UINT32, PCHAR, UINT32, PRtcDataChannelInit); // Callbacks used by usrsctp -INT32 onSctpOutboundPacket(PVOID, PVOID, SIZE_T, UINT8, UINT8); +INT32 onSctpOutboundPacket(PVOID, PVOID, size_t, UINT8, UINT8); INT32 onSctpInboundPacket(struct socket*, union sctp_sockstore, PVOID, ULONG, struct sctp_rcvinfo, INT32, PVOID); #ifdef __cplusplus