macOS: Fix build error in hash functions

Remove unneeded recent static_cast attempt.

Reviewed By: HooglyBoogly
Differential Revision: https://developer.blender.org/D13492
This commit is contained in:
Ankit Meel 2021-12-07 01:38:14 +05:30
parent f60b95b532
commit 0ed254574f
1 changed files with 2 additions and 2 deletions

View File

@ -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