summaryrefslogtreecommitdiff
path: root/rnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'rnd.c')
-rw-r--r--rnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rnd.c b/rnd.c
index 7dd36a3..bc72c97 100644
--- a/rnd.c
+++ b/rnd.c
@@ -10,7 +10,7 @@
static int fdw = -1;
-static void randombytes_weak(unsigned char *x, unsigned long long xlen)
+static void randombytes_weak(unsigned char *x, size_t xlen)
{
int ret;
@@ -40,7 +40,7 @@ static void randombytes_weak(unsigned char *x, unsigned long long xlen)
}
}
-static void randombytes_strong(unsigned char *x, unsigned long long xlen)
+static void randombytes_strong(unsigned char *x, size_t xlen)
{
int fds, ret;