Skip to content

Commit d5c8b78

Browse files
committed
Fix initialization from incompatible pointer type error in re_dump_bytecode
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
1 parent 6e687fa commit d5c8b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jerry-core/parser/regexp/re-bytecode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ re_insert_u32 (re_bytecode_ctx_t *bc_ctx_p, /**< RegExp bytecode context */
239239
void
240240
re_dump_bytecode (re_bytecode_ctx_t *bc_ctx_p) /**< RegExp bytecode context */
241241
{
242-
re_compiled_code_t *compiled_code_p = bc_ctx_p->block_start_p;
242+
re_compiled_code_t *compiled_code_p = (re_compiled_code_t *) bc_ctx_p->block_start_p;
243243
JERRY_DLOG ("%d ", compiled_code_p->flags);
244244
JERRY_DLOG ("%d ", compiled_code_p->num_of_captures);
245245
JERRY_DLOG ("%d | ", compiled_code_p->num_of_non_captures);

0 commit comments

Comments
 (0)