summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index c45801df..554935d4 100644
--- a/hash.c
+++ b/hash.c
@@ -408,7 +408,7 @@ val gethash_n(val hash, val key, val notfound_val)
val sethash(val hash, val key, val value)
{
val new_p;
- *gethash_l(hash, key, &new_p) = value;
+ set(*gethash_l(hash, key, &new_p), value);
return new_p;
}