From cd07429cc18a920fb697e4ad3e1e1cfaabc03a2c Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 20 May 2020 21:14:17 +0000 Subject: [PATCH] rand: fix compilation on linux --- vlib/crypto/rand/rand_linux.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/crypto/rand/rand_linux.c.v b/vlib/crypto/rand/rand_linux.c.v index 52d9c729ac..b03ed090b8 100644 --- a/vlib/crypto/rand/rand_linux.c.v +++ b/vlib/crypto/rand/rand_linux.c.v @@ -18,7 +18,7 @@ pub fn read(bytes_needed int) ?[]byte { // getrandom syscall wont block if requesting <= 256 bytes if bytes_needed > read_batch_size { no_batches := int(math.floor(f64(bytes_needed/read_batch_size))) - for i:=0; i