mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
Bug 876691 - Unbreak mfbt/Atomics.h for Windows x64. r=me
This commit is contained in:
parent
9e19136031
commit
7729e7ff63
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user