Skip to content

Commit

Permalink
SIZE_T -> size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankiesz committed Jan 9, 2025
1 parent 6b14fef commit 71df83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/source/Sctp/Sctp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/source/Sctp/Sctp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71df83b

Please sign in to comment.