Mercurial > octave
diff libinterp/corefcn/strfns.cc @ 30391:fe6d1711feea
maint: merge stable to default.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 28 Nov 2021 22:03:07 -0800 |
parents | 91c6288781ba a61e1a0f6024 |
children | 841a10208c38 |
line wrap: on
line diff
--- a/libinterp/corefcn/strfns.cc Mon Nov 29 11:19:38 2021 +0900 +++ b/libinterp/corefcn/strfns.cc Sun Nov 28 22:03:07 2021 -0800 @@ -1084,7 +1084,7 @@ NDArray output (args(0).dims (), false); for (octave_idx_type i = 0; i < cellstr.numel (); i++) { - const uint8_t *src + const uint8_t *src = reinterpret_cast<const uint8_t *> (cellstr(i).c_str ()); output(i) = octave_u8_mbsnlen_wrapper (src, cellstr(i).size ()); }