Author: ion
Date: Tue Aug  6 01:38:13 2013
New Revision: 59652

URL: http://svn.reactos.org/svn/reactos?rev=59652&view=rev
Log:
[SACDRV]: Another attempt to make MSVC happy.

Modified:
    trunk/reactos/drivers/sac/driver/chanmgr.c

Modified: trunk/reactos/drivers/sac/driver/chanmgr.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/sac/driver/chanmgr.c?rev=59652&r1=59651&r2=59652&view=diff
==============================================================================
--- trunk/reactos/drivers/sac/driver/chanmgr.c  [iso-8859-1] (original)
+++ trunk/reactos/drivers/sac/driver/chanmgr.c  [iso-8859-1] Tue Aug  6 
01:38:13 2013
@@ -396,7 +396,7 @@
         {
             /* Free slot found, attempt to use it */
             ASSERT(!CHANNEL_SLOT_IS_IN_USE(i));
-            _InterlockedCompareExchangePointer((void* 
volatile*)&ChannelArray[i], NewChannel, NULL);
+            _InterlockedCompareExchange((PLONG)&ChannelArray[i], 
(LONG)NewChannel, 0);
             if (ChannelArray[i] == NewChannel) break;
         }
     }


Reply via email to