mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Fix signed/unsigned warning.
This commit is contained in:
parent
6d6c47980e
commit
99649b5990
@ -620,7 +620,7 @@ freelist_extract(SSL_CTX *ctx, int for_read, int sz)
|
||||
|
||||
CRYPTO_w_lock(CRYPTO_LOCK_SSL_CTX);
|
||||
list = for_read ? ctx->rbuf_freelist : ctx->wbuf_freelist;
|
||||
if (list != NULL && sz == list->chunklen)
|
||||
if (list != NULL && sz == (int)list->chunklen)
|
||||
ent = list->head;
|
||||
if (ent != NULL)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user