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

Remove -Wno-sign-compare #7524

Merged
merged 5 commits into from
Feb 19, 2020
Merged

Remove -Wno-sign-compare #7524

merged 5 commits into from
Feb 19, 2020

Conversation

Nekotekina
Copy link
Member

No description provided.

@Nekotekina
Copy link
Member Author

Scary?

@@ -719,7 +719,7 @@ void ppu_module::analyse(u32 lib_toc, u32 entry)
// Clean TOCs
for (auto&& pair : fmap)
{
if (pair.second.toc == -1)
if (pair.second.toc + 1 == 0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird syntax for no reason, older version is more clear

@CookiePLMonster
Copy link
Contributor

If signed/unsigned compares are so bad, out of the two I'd rather prefer seeing comparisons against u32(-1) tbh.

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.

4 participants