diff options
Diffstat (limited to 'src/fns.c')
-rw-r--r-- | src/fns.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c index 561f526f8d0..bfd19e8c8f2 100644 --- a/src/fns.c +++ b/src/fns.c @@ -2938,8 +2938,7 @@ ARRAY is a vector, string, char-table, or bool-vector. */) else { ptrdiff_t product; - if (INT_MULTIPLY_WRAPV (size, len, &product) - || product != size_byte) + if (ckd_mul (&product, size, len) || product != size_byte) error ("Attempt to change byte length of a string"); for (idx = 0; idx < size_byte; idx++) *p++ = str[idx % len]; |