提交 cc129755 编写于 作者: R Richard Levitte

Fix unsigned vs. signed clash

上级 9738f395
...@@ -1055,7 +1055,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, ...@@ -1055,7 +1055,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
r = BIO_nwrite0(io1, &dataptr); r = BIO_nwrite0(io1, &dataptr);
assert(r > 0); assert(r > 0);
if (r < num) if (r < (int)num)
num = r; num = r;
r = BIO_read(io2, dataptr, (int)num); r = BIO_read(io2, dataptr, (int)num);
if (r != (int)num) /* can't happen */ if (r != (int)num) /* can't happen */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册