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

libogc/dvd: Correct printf specifier in DVD_LowGetStatus() #60

Merged
merged 1 commit into from
Dec 15, 2018
Merged

libogc/dvd: Correct printf specifier in DVD_LowGetStatus() #60

merged 1 commit into from
Dec 15, 2018

Conversation

lioncash
Copy link
Contributor

The previous specifier being used was for an unsigned int, however a pointer variable was being passed instead. Based off the incorrect name of the function in the format string, this was a copy-paste error

@fincs
Copy link
Member

fincs commented Dec 14, 2018

Shouldn't this instead print *status instead of the pointer?

Previously this was passing a pointer to printf when the format string
was indicating an unsigned int be used.
@lioncash
Copy link
Contributor Author

Sure, that works too. Amended the commit.

@WinterMute WinterMute merged commit 0ca3789 into devkitPro:master Dec 15, 2018
@lioncash lioncash deleted the dvd branch December 15, 2018 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants