mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
netshell: don't cast the 1st parameter of InterlockedExchange to volatile void **, but to void **
svn path=/branches/ros-amd64-bringup/; revision=41001
This commit is contained in:
@@ -1198,7 +1198,7 @@ HRESULT WINAPI LanConnectStatusUI_Constructor (IUnknown * pUnkOuter, REFIID riid
|
||||
This->lpNetMan = NULL;
|
||||
This->pHead = NULL;
|
||||
|
||||
if (InterlockedCompareExchangePointer((volatile void **)&cached_This, This, NULL) != NULL)
|
||||
if (InterlockedCompareExchangePointer((void **)&cached_This, This, NULL) != NULL)
|
||||
{
|
||||
CoTaskMemFree(This);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user