From b053bec2f495a46c925f6ad79780bbc61a110a40 Mon Sep 17 00:00:00 2001 From: ko-zu Date: Mon, 17 Sep 2018 13:09:08 +0900 Subject: [PATCH] Fix largeNbDicts bench for clangbuild Remove unsigned to size_t promotion to fix implicit down conversion errors in clangbuild target. --- contrib/largeNbDicts/largeNbDicts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/largeNbDicts/largeNbDicts.c b/contrib/largeNbDicts/largeNbDicts.c index db9e730b3..e0bc55380 100644 --- a/contrib/largeNbDicts/largeNbDicts.c +++ b/contrib/largeNbDicts/largeNbDicts.c @@ -766,8 +766,8 @@ int main (int argc, const char** argv) const char* dictionary = NULL; int cLevel = CLEVEL_DEFAULT; size_t blockSize = BLOCKSIZE_DEFAULT; - size_t nbDicts = 0; /* determine nbDicts automatically: 1 dictionary per block */ - size_t nbBlocks = 0; /* determine nbBlocks automatically, from source and blockSize */ + unsigned nbDicts = 0; /* determine nbDicts automatically: 1 dictionary per block */ + unsigned nbBlocks = 0; /* determine nbBlocks automatically, from source and blockSize */ for (int argNb = 1; argNb < argc ; argNb++) { const char* argument = argv[argNb]; -- 2.47.2