From: Lennart Poettering Date: Tue, 11 Jul 2017 08:36:53 +0000 (+0200) Subject: random-util: we are fine if ints are 16 bytes actually X-Git-Tag: chiark/234.4-1+devuan1.1+iwj1~71 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8d55ba11db4d4672d1dd546604cd482baa4cdfd6;p=elogind.git 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... --- 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