diff options
| author | Andre Weissflog <floooh@gmail.com> | 2021-02-12 20:08:02 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2021-02-12 20:08:02 +0100 |
| commit | e988514feb7f1022e287dd6c9304a1f04e59604e (patch) | |
| tree | f9915867f178ab2c12ad8cbfd8faf25e6ad29329 /util | |
| parent | e2e181e29bb81130edc9b838c1ed146426a8cc18 (diff) | |
fix gcc warnings
Diffstat (limited to 'util')
| -rw-r--r-- | util/sokol_nuklear.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_nuklear.h b/util/sokol_nuklear.h index 00009d08..c90f338d 100644 --- a/util/sokol_nuklear.h +++ b/util/sokol_nuklear.h @@ -1917,7 +1917,7 @@ SOKOL_API_IMPL void snk_render(int width, int height) { cmd->clip_rect.h * dpi_scale, true); sg_draw(0, (int)cmd->elem_count, 1); - idx_offset += cmd->elem_count * sizeof(uint16_t); + idx_offset += (int)cmd->elem_count * (int)sizeof(uint16_t); } } |