Merge pull request #1324 from ko-zu/fixclangcode

Fix largeNbDicts bench for clangbuild
This commit is contained in:
Yann Collet 2018-09-17 14:10:17 -07:00 committed by GitHub
commit 00ce26725b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -766,8 +766,8 @@ int main (int argc, const char** argv)
const char* dictionary = NULL; const char* dictionary = NULL;
int cLevel = CLEVEL_DEFAULT; int cLevel = CLEVEL_DEFAULT;
size_t blockSize = BLOCKSIZE_DEFAULT; size_t blockSize = BLOCKSIZE_DEFAULT;
size_t nbDicts = 0; /* determine nbDicts automatically: 1 dictionary per block */ unsigned nbDicts = 0; /* determine nbDicts automatically: 1 dictionary per block */
size_t nbBlocks = 0; /* determine nbBlocks automatically, from source and blockSize */ unsigned nbBlocks = 0; /* determine nbBlocks automatically, from source and blockSize */
for (int argNb = 1; argNb < argc ; argNb++) { for (int argNb = 1; argNb < argc ; argNb++) {
const char* argument = argv[argNb]; const char* argument = argv[argNb];