summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index e23c2ad3..d0667a57 100644
--- a/lib.c
+++ b/lib.c
@@ -5423,7 +5423,7 @@ val string_extend(val str, val tail, val finish_in)
}
}
- set(mkloc(str->st.len, str), num(len + delta));
+ str->st.len = num_fast(len + delta);
if (stringp(tail)) {
wmemcpy(str->st.str + len, c_str(tail, self), delta + 1);