1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

fix warning

This commit is contained in:
FunkyFr3sh 2024-08-18 11:40:17 +02:00
parent d1802eb4c5
commit 815e9f045b

View File

@ -914,7 +914,7 @@ HRESULT dds_GetDC(IDirectDrawSurfaceImpl* This, HDC FAR* lpHDC)
if (lpHDC) if (lpHDC)
*lpHDC = dc; *lpHDC = dc;
InterlockedExchange(&This->dc_state, SaveDC(dc)); InterlockedExchange((LONG*)&This->dc_state, SaveDC(dc));
return DD_OK; return DD_OK;
} }