summaryrefslogtreecommitdiffhomepage
path: root/docs/cmap_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmap_api.md')
-rw-r--r--docs/cmap_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cmap_api.md b/docs/cmap_api.md
index ea9efb39..7467974f 100644
--- a/docs/cmap_api.md
+++ b/docs/cmap_api.md
@@ -275,7 +275,7 @@ static int Viking_equals(const Viking* a, const Viking* b) {
}
static uint32_t Viking_hash(const Viking* a, int ignored) {
- return cstr_hash(a->name) ^ (cstr_hash(a->country) >> 15);
+ return cstr_hash(&a->name) ^ (cstr_hash(&a->country) >> 15);
}
static void Viking_del(Viking* v) {