From 7184ef12105a149d10b7f6002e0623f801b06768 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 26 Apr 2009 12:16:08 +0000 Subject: [PATCH] Cast to avoid signedness confusion --- apps/dgst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1