Add a cast to win32_window.c

This commit is contained in:
M374LX 2026-08-24 21:33:13 -03:00
parent 98f0e85b0f
commit 1d0814e390

View file

@ -1322,7 +1322,8 @@ static int _glfwCreateNativeWindowWin32(_GLFWwindow* window,
const int cursorWidth = GetSystemMetrics(SM_CXCURSOR);
const int cursorHeight = GetSystemMetrics(SM_CYCURSOR);
unsigned char* cursorPixels = _glfw_calloc(cursorWidth * cursorHeight, 4);
unsigned char* cursorPixels =
(unsigned char*) _glfw_calloc(cursorWidth * cursorHeight, 4);
if (!cursorPixels)
return GLFW_FALSE;