summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTechnion <technion@lolware.net>2014-11-06 01:41:11 +0000
committerTechnion <technion@lolware.net>2014-11-06 01:41:11 +0000
commit3f4ed127b9b62f376060125e4b827452ba441f52 (patch)
treedd0fb60490fbb0e8e1a31d840844c6e8e1a2c1a3
parent0217f5828a07caff3c43ae1400e0479d40cce62a (diff)
Fixed #28.
-rw-r--r--crypto_scrypt-check.c2
1 files changed, 1 insertions, 1 deletions
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)