summaryrefslogtreecommitdiffstats
path: root/crypto/mdc2/mdc2dgst.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/mdc2/mdc2dgst.c')
-rw-r--r--crypto/mdc2/mdc2dgst.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/mdc2/mdc2dgst.c b/crypto/mdc2/mdc2dgst.c
index aa9ba0ee6b..4aa406edc3 100644
--- a/crypto/mdc2/mdc2dgst.c
+++ b/crypto/mdc2/mdc2dgst.c
@@ -160,7 +160,8 @@ static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len)
int MDC2_Final(unsigned char *md, MDC2_CTX *c)
{
- int i,j;
+ unsigned int i;
+ int j;
i=c->num;
j=c->pad_type;