_Dtls13HandshakeRecv: cast handshakeType

This commit is contained in:
Juliusz Sosinowicz
2025-04-17 19:21:59 +02:00
parent f6f295e29f
commit e709cb4cf2

View File

@ -1768,7 +1768,7 @@ static int _Dtls13HandshakeRecv(WOLFSSL* ssl, byte* input, word32 size,
return ret;
}
ret = Dtls13CheckEpoch(ssl, handshakeType);
ret = Dtls13CheckEpoch(ssl, (enum HandShakeType)handshakeType);
if (ret != 0) {
WOLFSSL_ERROR(ret);
return ret;