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
@@ -347,7 +347,7 @@ ecma_utf8_string_to_number_by_radix (const lit_utf8_byte_t *str_p, /**< utf-8 st
|
||||
return ecma_number_make_nan ();
|
||||
}
|
||||
|
||||
num = num * radix + (ecma_number_t) digit_value;
|
||||
num = num * (ecma_number_t) radix + (ecma_number_t) digit_value;
|
||||
}
|
||||
|
||||
return num;
|
||||
|
||||
Reference in new issue
Block a user