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
+1 -1
View File
@@ -2842,7 +2842,7 @@ vm_loop (vm_frame_ctx_t *frame_ctx_p) /**< frame context */
result = (ecma_value_t) (int_value + int_increase);
break;
}
result_number = ecma_get_integer_from_value (result);
result_number = (ecma_number_t) ecma_get_integer_from_value (result);
}
else if (ecma_is_value_float_number (left_value))
{