projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae0d21
)
[SACDRV]: Another attempt to make MSVC happy.
author
Alex Ionescu
<aionescu@gmail.com>
Tue, 6 Aug 2013 01:38:13 +0000
(
01:38
+0000)
committer
Alex Ionescu
<aionescu@gmail.com>
Tue, 6 Aug 2013 01:38:13 +0000
(
01:38
+0000)
svn path=/trunk/; revision=59652
reactos/drivers/sac/driver/chanmgr.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/sac/driver/chanmgr.c
b/reactos/drivers/sac/driver/chanmgr.c
index
bf65042
..
a005a1e
100644
(file)
--- a/
reactos/drivers/sac/driver/chanmgr.c
+++ b/
reactos/drivers/sac/driver/chanmgr.c
@@
-396,7
+396,7
@@
ChanMgrCreateChannel(OUT PSAC_CHANNEL *Channel,
{
/* Free slot found, attempt to use it */
ASSERT(!CHANNEL_SLOT_IS_IN_USE(i));
- _InterlockedCompareExchange
Pointer((void* volatile*)&ChannelArray[i], NewChannel, NULL
);
+ _InterlockedCompareExchange
((PLONG)&ChannelArray[i], (LONG)NewChannel, 0
);
if (ChannelArray[i] == NewChannel) break;
}
}