From 3f4ed127b9b62f376060125e4b827452ba441f52 Mon Sep 17 00:00:00 2001 From: Technion Date: Thu, 6 Nov 2014 01:41:11 +0000 Subject: Fixed #28. --- crypto_scrypt-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto_scrypt-check.c b/crypto_scrypt-check.c index 5ed7ab0..055717f 100644 --- a/crypto_scrypt-check.c +++ b/crypto_scrypt-check.c @@ -16,7 +16,7 @@ /* pow() works with doubles. Sounds like it should cast to int correctly, * but doesn't always. This is faster anyway */ -static uint16_t ipow(uint16_t base, uint32_t exp) +static uint16_t ipow(uint16_t base, uint64_t exp) { uint16_t result = 1; while (exp != 0) -- cgit v1.2.3