diff options
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r-- | src/tests/tests.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h index b52ecce0d..0016a4d90 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -333,7 +333,7 @@ class Test if(r.size() > 0) { - const size_t offset = rng.get_random<uint16_t>() % r.size(); + const size_t offset = rng.next_byte() % r.size(); r[offset] ^= rng.next_nonzero_byte(); } |