Commit 03e4f890 by Christian Kern

Fix warning in MSVC2012/Debug

parent 20639dd4
......@@ -271,7 +271,7 @@ Scan(HazardPointerThreadEntry_t* currentHazardPointerEntry) {
// a bug... this assertions checks that
int expected = -1;
if (!currentHazardPointerEntry->GetScanningThread().CompareAndSwap(
expected, GetCurrentThreadIndex()))
expected, static_cast<int>(GetCurrentThreadIndex())))
{
assert(false);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment