Fix 32-bit Windows build

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3785 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Nolan Check 2009-07-13 16:32:51 +00:00
parent 389a2c6fc8
commit 48a5c4211c
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ namespace Common
{ {
inline void AtomicAdd(volatile u32& target, u32 value) { inline void AtomicAdd(volatile u32& target, u32 value) {
InterlockedAdd((volatile LONG*)&target, (LONG)value); InterlockedExchangeAdd((volatile LONG*)&target, (LONG)value);
} }
inline void AtomicIncrement(volatile u32& target) { inline void AtomicIncrement(volatile u32& target) {