From 18b143abf2d4f168aa295685064a060a7fffa4aa Mon Sep 17 00:00:00 2001 From: kkard2 Date: Sun, 21 Sep 2025 15:22:04 +0200 Subject: sth sth conversiont from (cl.exe still complains about fscanf and i'm not fixing that) --- examples/teapot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/teapot.c b/examples/teapot.c index 889b6de..026de22 100644 --- a/examples/teapot.c +++ b/examples/teapot.c @@ -43,7 +43,7 @@ void init() { colors[i] = sponge_colorf_to_color32(color); // invert winding - int32_t t = (i / 3) * 3; + int32_t t = (int32_t)((i / 3) * 3); triangles[i] = t + (2 - (i % 3)); } -- cgit v1.3.1