diff options
Diffstat (limited to 'apps/dgst.c')
-rw-r--r-- | apps/dgst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dgst.c b/apps/dgst.c index 59814908c1..b14872748a 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -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; |