nicebyte / nicegraf

An abstraction layer for graphics APIs.
198 stars 13 forks source link

Fix unsigned/signed mismatch errors on clang-cl #204

Closed rkevingibson closed 6 months ago

rkevingibson commented 6 months ago

When compiling on Windows with clang-cl (version 17.0.6), I'm getting a handful of signed/unsigned mismatch warnings that are treated as errors, mostly from enums that are being explicitly treated as signed. This seems to behave differently from MSVC, which is more lax about enum value conversions.

Should be no functional changes here, just some no-op casts.

nicebyte commented 6 months ago

Thanks for the PR!