diff options
Diffstat (limited to 'tests/gtests/functions/FN_attributes_ref_test.cc')
-rw-r--r-- | tests/gtests/functions/FN_attributes_ref_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gtests/functions/FN_attributes_ref_test.cc b/tests/gtests/functions/FN_attributes_ref_test.cc index 1c05bb930db..fee8c5dc058 100644 --- a/tests/gtests/functions/FN_attributes_ref_test.cc +++ b/tests/gtests/functions/FN_attributes_ref_test.cc @@ -65,7 +65,8 @@ TEST(mutable_attributes_ref, ComplexTest) Array<float> sizes(amount); Array<std::string> names(amount); - Array<void *> buffers = {positions.data(), ids.data(), sizes.data(), names.data()}; + Array<void *> buffers = { + (void *)positions.data(), (void *)ids.data(), (void *)sizes.data(), (void *)names.data()}; MutableAttributesRef attributes{info, buffers, IndexRange(1, 3)}; EXPECT_EQ(attributes.size(), 3); EXPECT_EQ(attributes.info().size(), 4); |