Fix compilation warnings when using 32-bit floats (#4199)
JerryScript-DCO-1.0-Signed-off-by: Philippe [email protected]
This commit is contained in:
1 parent
9f93b0a8ee
commit
f97c0134d7
5 files changed
+9
-9
No files matched your search
+1
-1
@@ -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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user