summaryrefslogtreecommitdiff
path: root/tweetnacl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tweetnacl.cpp')
-rw-r--r--tweetnacl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tweetnacl.cpp b/tweetnacl.cpp
index d5906bc1..9d546e7f 100644
--- a/tweetnacl.cpp
+++ b/tweetnacl.cpp
@@ -861,7 +861,7 @@ static int unpackneg(gf r[4],const uint8_t p[32])
int crypto_sign_open(uint8_t *m,uint64_t *mlen,const uint8_t *sm,uint64_t n,const uint8_t *pk)
{
- int i;
+ uint32_t i;
uint8_t t[32],h[64];
gf p[4],q[4];
@@ -897,3 +897,4 @@ NAMESPACE_END // NaCl
#endif // NO_OS_DEPENDENCE
+