]> granicus.if.org Git - openssl/commitdiff
Cast to avoid signedness confusion
authorRichard Levitte <levitte@openssl.org>
Sun, 26 Apr 2009 12:16:12 +0000 (12:16 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 26 Apr 2009 12:16:12 +0000 (12:16 +0000)
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;