Skip to content

Fix initialization from incompatible pointer type error in re_dump_bytecode #958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2016

Conversation

akosthekiss
Copy link
Member

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu

@akosthekiss akosthekiss added the bug Undesired behaviour label Mar 10, 2016
@akosthekiss
Copy link
Member Author

With make LOG=ON the build fails with

../../../jerry-core/parser/regexp/re-bytecode.c:242:41: error: initialization from incompatible pointer type [-Werror]
   re_compiled_code_t *compiled_code_p = bc_ctx_p->block_start_p;

This patch adds the missing explicit cast.

…ytecode`

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
@zherczeg
Copy link
Member

LGTM

1 similar comment
@LaszloLango
Copy link
Contributor

LGTM

@akosthekiss akosthekiss merged commit 011dacd into jerryscript-project:master Mar 11, 2016
@akosthekiss akosthekiss deleted the fix-re-dump branch March 11, 2016 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants