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
@@ -671,13 +671,13 @@ ecma_builtin_helper_def_prop (ecma_object_t *obj_p, /**< object */
|
||||
prop_desc.value = value;
|
||||
|
||||
prop_desc.is_writable_defined = true;
|
||||
prop_desc.is_writable = writable;
|
||||
prop_desc.is_writable = ECMA_BOOL_TO_BITFIELD (writable);
|
||||
|
||||
prop_desc.is_enumerable_defined = true;
|
||||
prop_desc.is_enumerable = enumerable;
|
||||
prop_desc.is_enumerable = ECMA_BOOL_TO_BITFIELD (enumerable);
|
||||
|
||||
prop_desc.is_configurable_defined = true;
|
||||
prop_desc.is_configurable = configurable;
|
||||
prop_desc.is_configurable = ECMA_BOOL_TO_BITFIELD (configurable);
|
||||
|
||||
return ecma_op_object_define_own_property (obj_p,
|
||||
index_p,
|
||||
|
||||
Reference in New Issue
Block a user