diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2021-12-06 23:08:14 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2021-12-06 23:08:14 +0300 |
commit | 0ed254574fc7d138e56affe4c14b72ad67b65afe (patch) | |
tree | 736cd7685720385d5ee9b78acafb04dcb82a79ab /source/blender/nodes | |
parent | f60b95b5320f8d6abe6a629fe8fc4f1b94d0d91c (diff) |
macOS: Fix build error in hash functions
Remove unneeded recent static_cast attempt.
Reviewed By: HooglyBoogly
Differential Revision: https://developer.blender.org/D13492
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_input_mesh_edge_vertices.cc | 4 |
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 |