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

Common: Get rid of a few pointer casts #3041

Merged
merged 1 commit into from Sep 15, 2015
Merged

Conversation

lioncash
Copy link
Member

ubsan doesn't fire in our code during initialization of a clean GUI build of Dolphin with this, which is also nice (unfortunately we still get runtime notifications about wx, but we can't do anything about that, aside from submitting patches to wx).

It might be more beneficial/less icky to consider altering LinearDiskCache to store the ID string as a char array directly instead of a u32, however I've kept it like this to preserve functionality (if it's fine to change it to a char[5], I can amend this PR, or do a followup.)

Tilka added a commit that referenced this pull request Sep 15, 2015
Common: Get rid of a few pointer casts
@Tilka Tilka merged commit 955bef2 into dolphin-emu:master Sep 15, 2015
@lioncash lioncash deleted the align branch September 15, 2015 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants