Fix compilation warnings when using 32-bit floats (#4199)

JerryScript-DCO-1.0-Signed-off-by: Philippe pgu-swir@users.noreply.github.com
This commit is contained in:
Philippe
2020-09-28 07:12:21 -07:00
committed by GitHub
parent 9f93b0a8ee
commit f97c0134d7
5 changed files with 9 additions and 9 deletions
@@ -1769,7 +1769,7 @@ ecma_op_bound_function_try_to_lazy_instantiate_property (ecma_object_t *object_p
JERRY_ASSERT (!ECMA_IS_VALUE_ERROR (get_len_value));
JERRY_ASSERT (ecma_is_value_integer_number (get_len_value));
length = ecma_get_integer_from_value (get_len_value) - (args_length - 1);
length = (ecma_number_t) (ecma_get_integer_from_value (get_len_value) - (args_length - 1));
}
#endif /* ENABLED (JERRY_ESNEXT) */