Cast to avoid signedness confusion

This commit is contained in:
Richard Levitte 2009-04-26 12:16:12 +00:00
parent 5409414eff
commit 22e1421672

View File

@ -594,7 +594,7 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout,
else else
{ {
len=BIO_gets(bp,(char *)buf,BUFSIZE); len=BIO_gets(bp,(char *)buf,BUFSIZE);
if (len <0) if ((int)len <0)
{ {
ERR_print_errors(bio_err); ERR_print_errors(bio_err);
return 1; return 1;