aboutsummaryrefslogtreecommitdiff
path: root/structs.c
diff options
context:
space:
mode:
Diffstat (limited to 'structs.c')
-rw-r--r--structs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/structs.c b/structs.c
index 51f69287..22965b72 100644
--- a/structs.c
+++ b/structs.c
@@ -109,7 +109,7 @@ static CORD compile_hash_method(env_t *env, ast_t *ast)
}
hash_func = CORD_all(hash_func, "};\n"
"uint32_t hash;\n"
- "halfsiphash(&field_hashes, sizeof(field_hashes), TOMO_HASH_VECTOR, (uint8_t*)&hash, sizeof(hash));\n"
+ "halfsiphash(&field_hashes, sizeof(field_hashes), TOMO_HASH_KEY, (uint8_t*)&hash, sizeof(hash));\n"
"return hash;\n}\n");
return hash_func;
}