From e814a3693f9efbdd00113de4dd5937acd97bc486 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 15 Nov 2021 17:26:01 +0000 Subject: Improve usage of `file_id` --- src/check_builtin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/check_builtin.cpp') 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") { -- cgit v1.2.3