Fix sign vs. unsigned warning.
authorRichard Levitte <levitte@openssl.org>
Thu, 15 Apr 2004 20:50:08 +0000 (20:50 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 15 Apr 2004 20:50:08 +0000 (20:50 +0000)
apps/dgst.c

index 0ea8c9fc9f2dbf64556f91464216534a8ecb4964..e50f663977592b5101af48deef9fe1a2f49e53f1 100644 (file)
@@ -457,7 +457,7 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout,
        else 
                {
                BIO_write(out,title,strlen(title));
-               for (i=0; i<len; i++)
+               for (i=0; (unsigned int)i<len; i++)
                        {
                        if (sep && (i != 0))
                                BIO_printf(out, ":");