conversion warning flagged on Windows test builds

This commit is contained in:
JacobBarthelmeh
2023-07-26 13:48:33 -07:00
parent 8d77090ad9
commit 7c11c0f201

View File

@@ -13763,7 +13763,7 @@ int wolfSSL_GetSessionFromCache(WOLFSSL* ssl, WOLFSSL_SESSION* output)
TlsSessionCacheUnlockRow(row);
/* Attempt to get a write lock */
error = TlsSessionCacheGetAndWrLock(id, &wrSess, &row,
ssl->options.side);
(byte)ssl->options.side);
if (error == 0 && wrSess != NULL) {
EvictSessionFromCache(wrSess);
TlsSessionCacheUnlockRow(row);