Skip to content

Conversation

@patrikjuvonen
Copy link
Contributor

CPrimitiveMaterialBatcher::Flush has a for-loop which is using an int instead of an uint when iterating using m_primitiveList.size(), this causes a compiler warning about signed/unsigned mismatch, as the size is an unsigned value. Tiiiiiny quality of life change, but let's avoid warnings in compiler.

@patrikjuvonen patrikjuvonen added the bug Something isn't working label Sep 2, 2018
@patrikjuvonen patrikjuvonen added this to the 1.5.6 milestone Sep 2, 2018
@patrikjuvonen patrikjuvonen requested a review from qaisjp September 2, 2018 14:13
@qaisjp qaisjp merged commit 1cc98f1 into multitheftauto:master Sep 2, 2018
@patrikjuvonen patrikjuvonen deleted the bugfix/primitive-signed-mismatch-warning branch September 2, 2018 14:14
@qaisjp
Copy link
Contributor

qaisjp commented Sep 2, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants