Index: src/spaces.h --- src/spaces.h.orig +++ src/spaces.h @@ -464,7 +464,7 @@ class MemoryChunk { } bool TryParallelSweeping() { - return NoBarrier_CompareAndSwap(¶llel_sweeping_, 1, 0) == 1; + return NoBarrier_CompareAndSwap(reinterpret_cast(¶llel_sweeping_), 1, 0) == 1; } // Manage live byte count (count of bytes known to be live,