server/util: drop redundant cast

This commit is contained in:
Viktor Szakats 2025-08-01 21:24:58 +02:00
parent 7375d4993c
commit 6d11b4a535
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -509,7 +509,7 @@ static unsigned int WINAPI main_window_loop(void *lpParameter)
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT,
(HWND)NULL, (HMENU)NULL,
wc.hInstance, (LPVOID)NULL);
wc.hInstance, NULL);
if(!hidden_main_window) {
win32_perror("CreateWindowEx failed");
return (DWORD)-1;