Build fix for 32-bit float ecma-number storage (#1669)

JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
Robert Sipka
2017-03-22 14:18:43 +01:00
committed by GitHub
parent 6ddf00a9fa
commit 78e4dcf6c2
12 changed files with 27 additions and 5 deletions
@@ -1375,8 +1375,8 @@ ecma_regexp_exec_helper (ecma_value_t regexp_value, /**< RegExp object */
if (sub_str_p != NULL
&& input_buffer_p != NULL)
{
lastindex_num = lit_utf8_string_length (input_buffer_p,
(lit_utf8_size_t) (sub_str_p - input_buffer_p));
lastindex_num = (ecma_number_t) lit_utf8_string_length (input_buffer_p,
(lit_utf8_size_t) (sub_str_p - input_buffer_p));
}
else
{