raysan5 / raygui

A simple and easy-to-use immediate-mode gui library
zlib License
3.36k stars 289 forks source link

Fix warnings in MSVC #324

Closed JeffM2501 closed 1 year ago

JeffM2501 commented 1 year ago

A pass to fix warnings in raygui. One big signed/unsigned thing, and a switch without any cases.

For the unsigned signed issue, I made the global be signed because it's compared signed values.

For the switch, I added in some cases from a comment that just fall through and moved the comment into the case, so at least it'll be easy to add special handling for those cases if/when the time comes, and it gets rid of the warning.

raysan5 commented 1 year ago

@JeffM2501 thanks for the review!