summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.c b/struct.c
index 2acc0b65..94f53b6b 100644
--- a/struct.c
+++ b/struct.c
@@ -697,7 +697,7 @@ val clear_struct(val strct, val value)
for (i = 0; i < st->nslots; i++)
si->slot[i] = clear_val;
- mut(strct);
+ setcheck(strct, clear_val);
return strct;
}