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...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user