fix some warnings

This commit is contained in:
FunkyFr3sh 2023-10-22 11:46:13 +02:00
parent 9b259d4ec6
commit 589b422d93
8 changed files with 24 additions and 13 deletions

View file

@ -84,7 +84,7 @@ DWORD WINAPI gdi_render_main(void)
if (g_config.fixchilds)
{
g_ddraw->child_window_exists = FALSE;
InterlockedExchangePointer(&g_ddraw->video_window_hwnd, NULL);
InterlockedExchangePointer((void*)&g_ddraw->video_window_hwnd, NULL);
EnumChildWindows(g_ddraw->hwnd, util_enum_child_proc, (LPARAM)g_ddraw->primary);
}