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:
parent
d1802eb4c5
commit
815e9f045b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user