summaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2009-04-26 12:16:12 +0000
committerRichard Levitte <levitte@openssl.org>2009-04-26 12:16:12 +0000
commit22e14216726e37a6da970e04e83e44c0331e57f8 (patch)
tree32c24d9316a2f7d4184159e66417ccf58ae70cba /apps/dgst.c
parent5409414effb5b0cfcdc04ae1336fab38a6703fe5 (diff)
Cast to avoid signedness confusion
Diffstat (limited to 'apps/dgst.c')
-rw-r--r--apps/dgst.c2
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;