From be2de16a4e0c5808afa8ebf66b5b5220c0ec0583 Mon Sep 17 00:00:00 2001 From: Evgeny Gavrin Date: Mon, 29 Jun 2015 20:47:15 +0300 Subject: [PATCH] Fix build error using GCC 4.7.4 JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com --- jerry-core/parser/js/opcodes-dumper.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jerry-core/parser/js/opcodes-dumper.cpp b/jerry-core/parser/js/opcodes-dumper.cpp index 0152ee154..dda70b24a 100644 --- a/jerry-core/parser/js/opcodes-dumper.cpp +++ b/jerry-core/parser/js/opcodes-dumper.cpp @@ -1171,7 +1171,10 @@ dump_call_additional_info (opcode_call_flags_t flags, /**< call flags */ const opcode_t opcode = getop_meta (OPCODE_META_TYPE_CALL_SITE_INFO, flags, - (flags & OPCODE_CALL_FLAGS_HAVE_THIS_ARG) ? this_arg.data.uid : INVALID_VALUE); + (idx_t) (flags & OPCODE_CALL_FLAGS_HAVE_THIS_ARG + ? this_arg.data.uid + : INVALID_VALUE)); + serializer_dump_op_meta (create_op_meta_000 (opcode)); } /* dump_call_additional_info */