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

HW: cleanup warnings of -Wtype-limits #8695

Merged
merged 1 commit into from Apr 28, 2020

Conversation

howard0su
Copy link
Contributor

address is unsigned, it is always greater or equal than zero.
Remove the asert of zero compare.

ROM_BASE is 0, and address is unsigned. It is always
true that address >= 0. So just compare with ROM_SIZE
and don't use IN_RANGE macro to avoid the warning.
@leoetlino leoetlino merged commit 586af0a into dolphin-emu:master Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants