From a57d234f6b3b4c2bd4fe7a0f264a7fa3f8ec498e Mon Sep 17 00:00:00 2001 From: Colton Willey Date: Tue, 27 Aug 2024 10:07:11 -0700 Subject: [PATCH] Clean up sign comparison warnings --- src/tls13.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls13.c b/src/tls13.c index 64c8650b9..06941f283 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -8602,7 +8602,7 @@ static int SendTls13Certificate(WOLFSSL* ssl) #endif /* WOLFSSL_DTLS13 */ } else { - fragSz = min(length, maxFragment); + fragSz = min((word32)length, maxFragment); sendSz += fragSz; }