From 0ca9573e420be98f42479e7f1e361eeb11641c03 Mon Sep 17 00:00:00 2001 From: Javier Smooth Date: Mon, 27 Jul 2015 04:20:42 -0700 Subject: [PATCH] clean up compiler warning in groestl --- src/crypto/groestl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/crypto/groestl.c b/src/crypto/groestl.c index 00bf987..8884a74 100644 --- a/src/crypto/groestl.c +++ b/src/crypto/groestl.c @@ -8,6 +8,8 @@ * */ +#include + #include "groestl.h" #include "groestl_tables.h" @@ -204,7 +206,7 @@ static void OutputTransformation(hashState *ctx) { /* initialise context */ static void Init(hashState* ctx) { - int i = 0; + size_t i = 0; /* allocate memory for state and data buffer */ for(;i<(SIZE512/sizeof(uint32_t));i++) @@ -357,4 +359,4 @@ static int crypto_hash(unsigned char *out, return 0; } -*/ \ No newline at end of file +*/