diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-07-11 10:36:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-07-11 10:37:40 +0200 |
commit | b5fa4c77060b08436fa9c4e7763f5c6136346e30 (patch) | |
tree | f8089c7c29240216955aac3e46f7417bd580a42f /src/basic | |
parent | 7b54715d19daeb2768362f4fc0d5192ed8af3ced (diff) | |
download | systemd-b5fa4c77060b08436fa9c4e7763f5c6136346e30.tar.gz systemd-b5fa4c77060b08436fa9c4e7763f5c6136346e30.tar.bz2 systemd-b5fa4c77060b08436fa9c4e7763f5c6136346e30.zip |
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')
-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 a8bcee1843..810eeab4d5 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 |