minor: lower literal range

to ensure all characters are printable
This commit is contained in:
Yann Collet 2024-01-29 12:55:44 -08:00
parent e0cfe3eb89
commit 95cb4da71e

View File

@ -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)
{