summaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10/open.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-25 17:50:13 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-25 17:50:13 -0400
commit9190468246c75051a4dd11ec95342df50ea1dc75 (patch)
tree3aa3847b90ad34426963f1b1c2bae89f1bde8f74 /src/ext/ed25519/ref10/open.c
parent1c5d680b3d6734e989a92deedbcf2bb46f31f7f9 (diff)
downloadtor-9190468246c75051a4dd11ec95342df50ea1dc75.tar.gz
tor-9190468246c75051a4dd11ec95342df50ea1dc75.zip
Fix warnings on 32-bit builds.
When size_t is the most memory you can have, make sure that things referring to real parts of memory are size_t, not uint64_t or off_t. But not on any released Tor.
Diffstat (limited to 'src/ext/ed25519/ref10/open.c')
-rw-r--r--src/ext/ed25519/ref10/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/ed25519/ref10/open.c b/src/ext/ed25519/ref10/open.c
index 0e7abba138..9dbeb4cdd0 100644
--- a/src/ext/ed25519/ref10/open.c
+++ b/src/ext/ed25519/ref10/open.c
@@ -9,7 +9,7 @@
/* 'signature' must be 64-bytes long. */
int crypto_sign_open(
const unsigned char *signature,
- const unsigned char *m,uint64_t mlen,
+ const unsigned char *m, size_t mlen,
const unsigned char *pk
)
{