From: Richard Levitte Date: Sun, 26 Apr 2009 12:16:12 +0000 (+0000) Subject: Cast to avoid signedness confusion X-Git-Tag: OpenSSL_1_0_0-beta3~122 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=22e14216726e37a6da970e04e83e44c0331e57f8;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;