Fix conversion warnings (#2126)
NuttX and artik053 build - compiling with strict Werror=conversion - fail when jerry-debugger option is enabled. This patch based on #2007, because most of them are fixed earlier within that PR, but it was closed before the land. Credit: Piotr Marcinkiewicz p.marcinkiew@samsung.com JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
committed by
Zoltan Herczeg
parent
10f777689f
commit
bd574956e3
@@ -2035,7 +2035,7 @@ lexer_construct_regexp_object (parser_context_t *context_p, /**< context */
|
||||
current_flags);
|
||||
ecma_deref_ecma_string (pattern_str_p);
|
||||
|
||||
bool is_throw = ECMA_IS_VALUE_ERROR (completion_value);
|
||||
bool is_throw = ECMA_IS_VALUE_ERROR (completion_value) ? true : false;
|
||||
|
||||
ecma_free_value (completion_value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user