mirror of
https://github.com/openssl/openssl.git
synced 2024-11-28 12:35:22 +08:00
Fix unsigned vs. signed clash
This commit is contained in:
parent
9738f395c6
commit
cc12975514
@ -1055,7 +1055,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
|
||||
|
||||
r = BIO_nwrite0(io1, &dataptr);
|
||||
assert(r > 0);
|
||||
if (r < num)
|
||||
if (r < (int)num)
|
||||
num = r;
|
||||
r = BIO_read(io2, dataptr, (int)num);
|
||||
if (r != (int)num) /* can't happen */
|
||||
|
Loading…
Reference in New Issue
Block a user