aboutsummaryrefslogtreecommitdiff
path: root/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'decl.c')
-rw-r--r--decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decl.c b/decl.c
index 46d1336..5576c6e 100644
--- a/decl.c
+++ b/decl.c
@@ -962,7 +962,7 @@ struct decl *stringdecl(struct expr *expr)
if (!strings)
strings = mkmap(64);
assert(expr->kind == EXPRSTRING);
- mapbufkey(&key, expr->string.data, expr->string.size);
+ mapkey(&key, expr->string.data, expr->string.size);
entry = mapput(strings, &key);
d = *entry;
if (!d) {