summaryrefslogtreecommitdiff
path: root/beecrypt/hmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'beecrypt/hmac.c')
-rw-r--r--beecrypt/hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beecrypt/hmac.c b/beecrypt/hmac.c
index c8934d73d..448d86f9c 100644
--- a/beecrypt/hmac.c
+++ b/beecrypt/hmac.c
@@ -42,7 +42,7 @@
int hmacSetup(byte* kxi, byte* kxo, const hashFunction* hash, hashFunctionParam* param, const byte* key, size_t keybits)
{
- register unsigned i;
+ register unsigned int i;
size_t keybytes = keybits >> 3;
/* if the key is too large, hash it first */