diff options
| author | gingerBill <bill@gingerbill.org> | 2021-11-15 17:26:01 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-11-15 17:26:01 +0000 |
| commit | e814a3693f9efbdd00113de4dd5937acd97bc486 (patch) | |
| tree | ff0534f9609fb8b5726c0933027db9963bb469e4 /src/check_builtin.cpp | |
| parent | f55fc4cd08dba25730fa1c74d31611cf27ef2155 (diff) | |
Improve usage of `file_id`
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index d910314fb..f93cf9886 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -446,9 +446,9 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32 } else if (hash_kind == "fnv64") { hash_value = gb_fnv64(data, file_size); } else if (hash_kind == "fnv32a") { - hash_value = gb_fnv32a(data, file_size); + hash_value = fnv32a(data, file_size); } else if (hash_kind == "fnv64a") { - hash_value = gb_fnv64a(data, file_size); + hash_value = fnv64a(data, file_size); } else if (hash_kind == "murmur32") { hash_value = gb_murmur32(data, file_size); } else if (hash_kind == "murmur64") { |