From: Richard Levitte Date: Sun, 26 Apr 2009 12:16:08 +0000 (+0000) Subject: Cast to avoid signedness confusion X-Git-Tag: OpenSSL-fips-2_0-rc1~1721 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7184ef12105a149d10b7f6002e0623f801b06768;p=oweals%2Fopenssl.git Cast to avoid signedness confusion --- 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;