]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix gcc warning in TBB 9866/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 10 Apr 2020 03:14:38 +0000 (23:14 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 10 Apr 2020 15:14:57 +0000 (11:14 -0400)
bundled/tbb-2018_U2/include/tbb/internal/_concurrent_unordered_impl.h

index 3caa9bae8fe03731401382d2099495015d4ce8b9..2d63c6f4fccde28cff9f1c1d8af29e0b1669dc3c 100644 (file)
@@ -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();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.