From: Daniel Arndt Date: Fri, 10 Apr 2020 03:14:38 +0000 (-0400) Subject: Fix gcc warning in TBB X-Git-Tag: v9.2.0-rc1~251^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9866%2Fhead;p=dealii.git Fix gcc warning in TBB --- diff --git a/bundled/tbb-2018_U2/include/tbb/internal/_concurrent_unordered_impl.h b/bundled/tbb-2018_U2/include/tbb/internal/_concurrent_unordered_impl.h index 3caa9bae8f..2d63c6f4fc 100644 --- a/bundled/tbb-2018_U2/include/tbb/internal/_concurrent_unordered_impl.h +++ b/bundled/tbb-2018_U2/include/tbb/internal/_concurrent_unordered_impl.h @@ -1200,7 +1200,7 @@ private: // Initialize the hash and keep the first bucket open void internal_init() { // Initialize the array of segment pointers - memset(my_buckets, 0, sizeof(my_buckets)); + memset((void*)my_buckets, 0, sizeof(my_buckets)); // Initialize bucket 0 raw_iterator dummy_node = my_solist.raw_begin();