mirror of
https://github.com/lz4/lz4.git
synced 2024-11-26 19:34:53 +08:00
minor: lower literal range
to ensure all characters are printable
This commit is contained in:
parent
e0cfe3eb89
commit
95cb4da71e
@ -172,7 +172,7 @@ unsigned int FUZ_rand(unsigned int* src)
|
||||
}
|
||||
|
||||
#define RAND_BITS(N) (FUZ_rand(randState) & ((1 << (N))-1))
|
||||
#define FUZ_LITERAL (RAND_BITS(6) + 'A')
|
||||
#define FUZ_LITERAL (RAND_BITS(6) + '0')
|
||||
#define FUZ_ABOUT(_R) ((FUZ_rand(randState) % (_R)) + (FUZ_rand(randState) % (_R)) + 1)
|
||||
static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* randState)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user