mirror of
https://github.com/glfw/glfw
synced 2026-09-26 16:18:21 +03:00
Add a cast to win32_window.c
This commit is contained in:
parent
98f0e85b0f
commit
1d0814e390
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue