fix warning
This commit is contained in:
parent
d1802eb4c5
commit
815e9f045b
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ HRESULT dds_GetDC(IDirectDrawSurfaceImpl* This, HDC FAR* lpHDC)
|
|||
if (lpHDC)
|
||||
*lpHDC = dc;
|
||||
|
||||
InterlockedExchange(&This->dc_state, SaveDC(dc));
|
||||
InterlockedExchange((LONG*)&This->dc_state, SaveDC(dc));
|
||||
|
||||
return DD_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue