From cb905287af4d320c7610d916d59521b9de2a09a0 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 9 Apr 2020 23:14:38 -0400 Subject: [PATCH] Fix gcc warning in TBB --- .../include/tbb/internal/_concurrent_unordered_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5