projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5409414
)
Cast to avoid signedness confusion
author
Richard Levitte
<levitte@openssl.org>
Sun, 26 Apr 2009 12:16:12 +0000
(12:16 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 26 Apr 2009 12:16:12 +0000
(12:16 +0000)
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 59814908c106fe13c980d4db0ec03f373ef6c551..b14872748ac7df899bbd420d41a417444a88331c 100644
(file)
--- 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;