Skip to content
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

Explicitly widen the source immediate before casting to pointer #3595

Merged
merged 1 commit into from
Feb 26, 2019

Conversation

rwy7
Copy link
Contributor

@rwy7 rwy7 commented Feb 21, 2019

This patch fixes a pile of bad casts where we're converting from a 32bit
integer to a 64bit pointer. The warnings are silenced by performing an
intermediate cast to a uintptr_t, before casting to a pointer.

Signed-off-by: Robert Young rwy0717@gmail.com

This patch fixes a pile of bad casts where we're converting from a 32bit
integer to a 64bit pointer. The warnings are silenced by performing an
intermediate cast to a uintptr_t, before casting to a pointer.

Signed-off-by: Robert Young <rwy0717@gmail.com>
@charliegracie
Copy link
Contributor

@genie-omr build xcrlinux xlinux win osx

@0xdaryl 0xdaryl self-assigned this Feb 26, 2019
@0xdaryl 0xdaryl merged commit dba8966 into eclipse-omr:master Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants