Add missing parentheses for bit operations where type cast is used.
Fix for #853. These modifications are required by gcc 4.9 or above. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
committed by
László Langó
parent
02b001e479
commit
cd6ff690d0
@@ -1767,7 +1767,7 @@ lexer_construct_regexp_object (parser_context_t *context_p, /**< context */
|
||||
parser_raise_error (context_p, PARSER_ERR_DUPLICATED_REGEXP_FLAG);
|
||||
}
|
||||
|
||||
current_flags |= (uint16_t) flag;
|
||||
current_flags = (uint16_t) (current_flags | flag);
|
||||
source_p++;
|
||||
column++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user