Cast to avoid signedness confusion
[openssl.git] / apps / dgst.c
index 59814908c106fe13c980d4db0ec03f373ef6c551..b14872748ac7df899bbd420d41a417444a88331c 100644 (file)
@@ -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;