aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c
index 2aa27e65d77..ee43b98e6ed 100644
--- a/src/data.c
+++ b/src/data.c
@@ -2134,7 +2134,7 @@ bool-vector. IDX starts at 0. */)
2134 { 2134 {
2135 if (idxval < 0 || idxval >= ASIZE (array)) 2135 if (idxval < 0 || idxval >= ASIZE (array))
2136 args_out_of_range (array, idx); 2136 args_out_of_range (array, idx);
2137 XVECTOR (array)->contents[idxval] = newelt; 2137 ASET (array, idxval, newelt);
2138 } 2138 }
2139 else if (BOOL_VECTOR_P (array)) 2139 else if (BOOL_VECTOR_P (array))
2140 { 2140 {