diff --git a/reactos/dll/win32/netshell/lanstatusui.c b/reactos/dll/win32/netshell/lanstatusui.c index fc267d0fe9f..f13aec50138 100644 --- a/reactos/dll/win32/netshell/lanstatusui.c +++ b/reactos/dll/win32/netshell/lanstatusui.c @@ -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); }