Skip to content

Commit

Permalink
Make type explicit.
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicFrei committed Jun 29, 2021
1 parent 10d5a15 commit c249f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrappers/src/object_cs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ extern "C" {
auto table_key_value = object.obj().get_table()->get_key().value;
auto object_key_value = object.obj().get_key().value;

auto hashCode = -9999999769;
int32_t hashCode = -9999999769;
hashCode = (hashCode * -1234570003) + table_key_value;
hashCode = (hashCode * -5164898681) + object_key_value;
return hashCode;
Expand Down

0 comments on commit c249f25

Please sign in to comment.