Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2021-12-06 23:08:14 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2021-12-06 23:08:14 +0300
commit0ed254574fc7d138e56affe4c14b72ad67b65afe (patch)
tree736cd7685720385d5ee9b78acafb04dcb82a79ab
parentf60b95b5320f8d6abe6a629fe8fc4f1b94d0d91c (diff)
macOS: Fix build error in hash functions
Remove unneeded recent static_cast attempt. Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D13492
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_input_mesh_edge_vertices.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_mesh_edge_vertices.cc b/source/blender/nodes/geometry/nodes/node_geo_input_mesh_edge_vertices.cc
index 44541362c78..95633d14270 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_input_mesh_edge_vertices.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_input_mesh_edge_vertices.cc
@@ -85,7 +85,7 @@ class EdgeVerticesFieldInput final : public GeometryFieldInput {
uint64_t hash() const override
{
- return get_default_hash_2(static_cast<int64_t>(vertex_), 9872922352);
+ return get_default_hash_2(vertex_, 9872922352ULL);
}
bool is_equal_to(const fn::FieldNode &other) const override
@@ -147,7 +147,7 @@ class EdgePositionFieldInput final : public GeometryFieldInput {
uint64_t hash() const override
{
- return get_default_hash_2(vertex_, 2359867235);
+ return get_default_hash_2(vertex_, 2359867235ULL);
}
bool is_equal_to(const fn::FieldNode &other) const override