fix warnings

This commit is contained in:
veclavtalica
2024-10-22 11:06:02 +03:00
parent eff2d9c5e1
commit 5a08c01208
3 changed files with 6 additions and 6 deletions

View File

@ -801,7 +801,7 @@ void finally_draw_uncolored_space_traingle_batch(const MeshBatch *batch,
command.textured = true;
command.texture_key = texture_key;
const GLuint primitives_len = arrlenu(batch->primitives);
const GLsizei primitives_len = (GLsizei)arrlenu(batch->primitives);
command.primitive_count = 3 * primitives_len;
DeferredCommand final_command = {