[Bf-blender-cvs] [e1ec3bcb6c7] temp-cxx-upgrade: Fix typo in previous commit

Sergey Sharybin noreply at git.blender.org
Thu Jun 18 15:44:09 CEST 2020


Commit: e1ec3bcb6c7ddfbc164b70525397b153db03e69e
Author: Sergey Sharybin
Date:   Thu Jun 18 15:43:38 2020 +0200
Branches: temp-cxx-upgrade
https://developer.blender.org/rBe1ec3bcb6c7ddfbc164b70525397b153db03e69e

Fix typo in previous commit

Is really hard to fix 3 platforms at the same time.

===================================================================

M	tests/gtests/blenlib/BLI_vector_test.cc

===================================================================

diff --git a/tests/gtests/blenlib/BLI_vector_test.cc b/tests/gtests/blenlib/BLI_vector_test.cc
index 1848f841acf..4b42cc1b4af 100644
--- a/tests/gtests/blenlib/BLI_vector_test.cc
+++ b/tests/gtests/blenlib/BLI_vector_test.cc
@@ -306,7 +306,7 @@ TEST(vector, BecomeLarge)
   }
   EXPECT_EQ(vec.size(), 100u);
   for (uint i = 0; i < 100; i++) {
-    EXPECT_EQ(vec[i], static_cast<uint>(i * 5));
+    EXPECT_EQ(vec[i], static_cast<int>(i * 5));
   }
 }



More information about the Bf-blender-cvs mailing list