Skip to content

Conversation

@Un1q32
Copy link
Contributor

@Un1q32 Un1q32 commented Jan 19, 2026

There's a lot of places where we cast the result of .size() in a for loop to int for no reason, maybe mojang did this to silence sign compare warns but they were stupid about how they did it. Using size_t directly is more correct and probably a little faster.

@Un1q32 Un1q32 marked this pull request as draft January 19, 2026 02:34
@Un1q32 Un1q32 marked this pull request as ready for review January 19, 2026 03:18
@@ -0,0 +1,2 @@
CompileFlags:
Add: [-I/home/uniq/devel/mcpe/source, -I/home/uniq/devel/mcpe, -I/home/uniq/devel/mcpe/thirdparty/raknet, -I/home/uniq/devel/mcpe/thirdparty/stb_image/include, -isystem/usr/include/SDL2]
Copy link
Collaborator

Choose a reason for hiding this comment

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

mistake?

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.

2 participants