diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-07-11 10:36:53 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-25 09:48:11 +0200 |
commit | 8d55ba11db4d4672d1dd546604cd482baa4cdfd6 (patch) | |
tree | 1c9593a596b805e60a3f86318eec5cee1ae5964a /src/basic/random-util.c | |
parent | 9800a6ceb4801bb1f3e851b2244c84a8d8f116b1 (diff) |
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...
Diffstat (limited to 'src/basic/random-util.c')
-rw-r--r-- | src/basic/random-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |