Skip to content

Commit

Permalink
Merge pull request #6656 from JacobBarthelmeh/sanitizer
Browse files Browse the repository at this point in the history
conversion warning flagged on Windows test builds
  • Loading branch information
dgarske authored Jul 26, 2023
2 parents 67913b5 + 7c11c0f commit 3510ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3510ea4

Please sign in to comment.