mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Cast to avoid signedness confusion
This commit is contained in:
parent
93caba129b
commit
7184ef1210
@ -594,7 +594,7 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout,
|
||||
else
|
||||
{
|
||||
len=BIO_gets(bp,(char *)buf,BUFSIZE);
|
||||
if (len <0)
|
||||
if ((int)len <0)
|
||||
{
|
||||
ERR_print_errors(bio_err);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user