From fb416edfbdae410d993e0504f2e9f7deb6367a20 Mon Sep 17 00:00:00 2001 From: kkard2 Date: Sun, 7 Sep 2025 11:16:17 +0200 Subject: fix cl.exe warnings --- examples/texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/texture.c') diff --git a/examples/texture.c b/examples/texture.c index 1a4382a..d6bee54 100644 --- a/examples/texture.c +++ b/examples/texture.c @@ -21,7 +21,7 @@ void init() { } texture.stride = texture.width; - texture.pixels = data; // NOTE(kard): be careful if changing following loop + texture.pixels = (uint32_t *)data; // NOTE(kard): be careful if changing following loop // converting from stbi's RGBA to ARGB for (size_t i = 0; i < texture.width * texture.height; i++) { -- cgit v1.3.1