From 8d55ba11db4d4672d1dd546604cd482baa4cdfd6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 11 Jul 2017 10:36:53 +0200 Subject: [PATCH] random-util: we are fine if ints are 16 bytes actually Not that it matters IRL, but let's make this less surprising to read... --- src/basic/random-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/random-util.c b/src/basic/random-util.c index a8bcee184..810eeab4d 100644 --- a/src/basic/random-util.c +++ b/src/basic/random-util.c @@ -114,7 +114,7 @@ void initialize_srand(void) { auxv = (void*) getauxval(AT_RANDOM); if (auxv) { - assert_cc(sizeof(x) < 16); + assert_cc(sizeof(x) <= 16); memcpy(&x, auxv, sizeof(x)); } else #endif -- 2.30.2