Use range instead of the generic uint32 method to use less bytes when generating necessary numbers.

This commit is contained in:
Dario Pavlovic committed 2019-09-12 12:40:12 -07:00
1 parent b5b24c2a0d
commit 92c58c4d5d
11 files changed
+38 -24

No files matched your search

+3
View File
@@ -17,6 +17,9 @@
#include "zstd.h"
#include "zdict.h"
const int kMinClevel = -3;
const int kMaxClevel = 19;
static void set(ZSTD_CCtx *cctx, ZSTD_cParameter param, int value)
{
FUZZ_ZASSERT(ZSTD_CCtx_setParameter(cctx, param, value));