summaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2009-04-26 14:16:08 +0200
committerRichard Levitte <levitte@openssl.org>2009-04-26 14:16:08 +0200
commit7184ef12105a149d10b7f6002e0623f801b06768 (patch)
tree4bcca767b490ab3f99e8334b534a6be80bfc53a3 /apps/dgst.c
parentInclude sys/time.h to declare gettimeofday(). (diff)
downloadopenssl-7184ef12105a149d10b7f6002e0623f801b06768.tar.xz
openssl-7184ef12105a149d10b7f6002e0623f801b06768.zip
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;