From 786f0254af9c7d4b66357a100810ad89708863c4 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 11 Aug 2013 15:22:33 +0200 Subject: rnd: Change parameter type in randombytes_{weak,strong} Change parameter type for the length to size_t since this is what is passed to them and is expected by read_exact(). Signed-off-by: Tobias Klauser --- rnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rnd.c') 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; -- cgit v1.2.3-54-g00ecf