Browse Source

Win32: Remove superfluous cast

Camilla Löwy 3 years ago
parent
commit
80e31ce9e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/win32_window.c

+ 1 - 1
src/win32_window.c

@@ -1428,7 +1428,7 @@ GLFWbool _glfwRegisterWindowClassWin32(void)
     ZeroMemory(&wc, sizeof(wc));
     wc.cbSize        = sizeof(wc);
     wc.style         = CS_HREDRAW | CS_VREDRAW | CS_OWNDC;
-    wc.lpfnWndProc   = (WNDPROC) windowProc;
+    wc.lpfnWndProc   = windowProc;
     wc.hInstance     = _glfw.win32.instance;
     wc.hCursor       = LoadCursorW(NULL, IDC_ARROW);
     wc.lpszClassName = _GLFW_WNDCLASSNAME;