[ros-diffs] [tkreuzer] 41001: netshell: don't cast the 1st parameter of InterlockedExchange to volatile void **, but to void **

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Wed May 20 00:10:48 CEST 2009


Author: tkreuzer
Date: Wed May 20 02:10:47 2009
New Revision: 41001

URL: http://svn.reactos.org/svn/reactos?rev=41001&view=rev
Log:
netshell: don't cast the 1st parameter of InterlockedExchange to volatile void **, but to void **

Modified:
    branches/ros-amd64-bringup/reactos/dll/win32/netshell/lanstatusui.c

Modified: branches/ros-amd64-bringup/reactos/dll/win32/netshell/lanstatusui.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/win32/netshell/lanstatusui.c?rev=41001&r1=41000&r2=41001&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/win32/netshell/lanstatusui.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/dll/win32/netshell/lanstatusui.c [iso-8859-1] Wed May 20 02:10:47 2009
@@ -1198,7 +1198,7 @@
     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);
     }



More information about the Ros-diffs mailing list