fix: add explicit cast to abide g++ compiler

pull/5453/head
Marco Oliverio 2022-08-23 09:51:15 +02:00
parent f3262005e4
commit 3a8e6f2280
1 changed files with 2 additions and 2 deletions

View File

@ -5879,8 +5879,8 @@ int SendTls13ServerHello(WOLFSSL* ssl, byte extMsgType)
ssl->options.buildingMsg = 0;
#ifdef WOLFSSL_DTLS13
if (ssl->options.dtls) {
ret = Dtls13HandshakeSend(ssl, output, sendSz, sendSz,
extMsgType, 0);
ret = Dtls13HandshakeSend(ssl, output, sendSz, sendSz,
(enum HandShakeType)extMsgType, 0);
WOLFSSL_LEAVE("SendTls13ServerHello", ret);
WOLFSSL_END(WC_FUNC_SERVER_HELLO_SEND);