diff --git a/.travis.yml b/.travis.yml index acf913095..646435502 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,7 @@ matrix: env: - OPTS="--quiet --jerry-tests --jerry-test-suite --unittests" os: osx + osx_image: xcode11.4 addons: homebrew: packages: [cmake, cppcheck, vera++] diff --git a/jerry-core/parser/js/js-scanner-util.c b/jerry-core/parser/js/js-scanner-util.c index 314b6876d..1304c9fa9 100644 --- a/jerry-core/parser/js/js-scanner-util.c +++ b/jerry-core/parser/js/js-scanner-util.c @@ -2043,7 +2043,7 @@ scanner_create_variables (parser_context_t *context_p, /**< context */ #endif /* ENABLED (JERRY_ES2015) */ parser_emit_cbc_literal_value (context_p, - opcode, + (uint16_t) opcode, function_map_p[1].map_to, scanner_decode_map_to (function_map_p)); continue;