diff --git a/.circleci/config.yml b/.circleci/config.yml index 3f8711875..51fcf2bae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -237,7 +237,7 @@ jobs: resource_class: xlarge steps: - checkout # check out the code in the project directory - - run: sudo apt-get update -y && sudo apt-get install -y clang libgflags-dev + - run: sudo apt-get update -y && sudo apt-get install -y clang libgflags-dev libtbb-dev - run: CC=clang CXX=clang++ USE_CLANG=1 PORTABLE=1 make V=1 -j16 all | .circleci/cat_ignore_eagain - post-steps diff --git a/cache/clock_cache.cc b/cache/clock_cache.cc index 26287ff22..bca52493a 100644 --- a/cache/clock_cache.cc +++ b/cache/clock_cache.cc @@ -431,7 +431,7 @@ void ClockCacheShard::ApplyToSomeEntries( // Mark finished with all *state = UINT32_MAX; } else { - *state = end_idx; + *state = static_cast(end_idx); } // Do the iteration