aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/groestl.c
diff options
context:
space:
mode:
authorroman <korba.roman@gmail.com>2015-08-23 21:10:24 +0200
committerroman <korba.roman@gmail.com>2015-08-23 21:10:24 +0200
commit3b5330e895f06774b47250b4ec3e99b4d78ddd1c (patch)
treed4b404301f93231ad9adbd43bec176a86557b0c6 /src/crypto/groestl.c
parentremoved some gcc warnings. mainly unused variables. (diff)
downloadmonero-3b5330e895f06774b47250b4ec3e99b4d78ddd1c.tar.xz
use correct unsigned type
Diffstat (limited to 'src/crypto/groestl.c')
-rw-r--r--src/crypto/groestl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/groestl.c b/src/crypto/groestl.c
index 84bfb2947..c8258add3 100644
--- a/src/crypto/groestl.c
+++ b/src/crypto/groestl.c
@@ -8,6 +8,7 @@
*
*/
+#include <stddef.h>
#include "groestl.h"
#include "groestl_tables.h"
@@ -206,7 +207,7 @@ static void OutputTransformation(hashState *ctx) {
static void Init(hashState* ctx) {
/* allocate memory for state and data buffer */
- for(unsigned i = 0; i < (SIZE512/sizeof(uint32_t)); i++)
+ for(size_t i = 0; i < (SIZE512/sizeof(uint32_t)); i++)
{
ctx->chaining[i] = 0;
}