Warning fixes.
Passing argument 1 of ‘strncmp’ from incompatible pointer type. Assignments from incompatible pointer types. Passing argument or initialization discards ‘const’ qualifier from pointer target type. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -1808,7 +1808,7 @@ lexer_construct_regexp_object (parser_context_t *context_p, /**< context */
|
||||
context_p->literal_count++;
|
||||
|
||||
/* Compile the RegExp literal and store the RegExp bytecode pointer */
|
||||
re_compiled_code_t *re_bytecode_p = NULL;
|
||||
const re_compiled_code_t *re_bytecode_p = NULL;
|
||||
ecma_value_t completion_value;
|
||||
|
||||
ecma_string_t *pattern_str_p = ecma_new_ecma_string_from_utf8 (regex_start_p, length);
|
||||
|
||||
Reference in New Issue
Block a user