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

SI_Devices: Get rid of pointer casts for ID assignment in RunBuffer #5229

Merged
merged 1 commit into from Apr 9, 2017

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Apr 8, 2017

Casting to a different pointer type like the previous code did and dereferencing it is undefined behavior.

This is actually undefined behavior (pointer casting to a non-char type and
dereferencing it).
@Parlane Parlane merged commit 394b847 into dolphin-emu:master Apr 9, 2017
@lioncash lioncash deleted the si-id branch April 9, 2017 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants