clay icon indicating copy to clipboard operation
clay copied to clipboard

Sokol Renderer: Fix Warning

Open timwmillard opened this issue 3 months ago • 0 comments

Clay_RenderCommandArray uses int32_t not uint32_t.

Currently getting this warning on clang:

sokol_clay.h:332:28: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int32_t' (aka 'int') [-Wsign-compare]
    for (uint32_t i = 0; i < renderCommands.length; i++) {

timwmillard avatar Oct 10 '25 14:10 timwmillard