From cdb1b00f347342aa8a978024e81df1ad9eda1aed Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Wed, 9 Jun 2021 14:44:10 +0300 Subject: [PATCH] crypto/random_pool.c: Correct indexing on void pointer Signed-off-by: Jukka Laitinen --- crypto/random_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/random_pool.c b/crypto/random_pool.c index 7fdf7d0ded..3c58c3b4ee 100644 --- a/crypto/random_pool.c +++ b/crypto/random_pool.c @@ -323,7 +323,7 @@ static void rng_reseed(void) g_rng.output_initialized = true; } -static void rng_buf_internal(FAR void *bytes, size_t nbytes) +static void rng_buf_internal(FAR uint8_t *bytes, size_t nbytes) { if (!g_rng.output_initialized) {