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:
Timo Kreuzer
2009-05-19 22:10:47 +00:00
parent f109d67838
commit 6a56a40ddf
+1 -1
View File
@@ -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);
}