aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2021-02-12 20:08:02 +0100
committerAndre Weissflog <floooh@gmail.com>2021-02-12 20:08:02 +0100
commite988514feb7f1022e287dd6c9304a1f04e59604e (patch)
treef9915867f178ab2c12ad8cbfd8faf25e6ad29329 /util
parente2e181e29bb81130edc9b838c1ed146426a8cc18 (diff)
fix gcc warnings
Diffstat (limited to 'util')
-rw-r--r--util/sokol_nuklear.h2
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);
}
}