Bug 876691 - Unbreak mfbt/Atomics.h for Windows x64. r=me

This commit is contained in:
Justin Lebar 2013-05-28 15:26:25 -04:00
parent 9e19136031
commit 7729e7ff63

View File

@ -620,7 +620,7 @@ struct PrimitiveIntrinsics<8>
static Type exchange(Type* ptr, Type val) {
return _InterlockedExchange64(ptr, val);
}
static bool compareExchange(T* ptr, T oldVal, T newVal) {
static bool compareExchange(Type* ptr, Type oldVal, Type newVal) {
return _InterlockedCompareExchange64(ptr, newVal, oldVal) == oldVal;
}
};