Skip to content

Commit 3148e2a

Browse files
committed
Fix build error using GCC 4.7.4
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin [email protected]
1 parent 1d75cb4 commit 3148e2a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jerry-core/parser/js/opcodes-dumper.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,10 @@ dump_call_additional_info (opcode_call_flags_t flags, /**< call flags */
11731173

11741174
const opcode_t opcode = getop_meta (OPCODE_META_TYPE_CALL_SITE_INFO,
11751175
flags,
1176-
(flags & OPCODE_CALL_FLAGS_HAVE_THIS_ARG) ? this_arg.data.uid : INVALID_VALUE);
1176+
(idx_t) (flags & OPCODE_CALL_FLAGS_HAVE_THIS_ARG
1177+
? this_arg.data.uid
1178+
: INVALID_VALUE));
1179+
11771180
serializer_dump_op_meta (create_op_meta_000 (opcode));
11781181
} /* dump_call_additional_info */
11791182

0 commit comments

Comments
 (0)