Commit fa8d3b2b by lucapegolotti

Fix warning in hazard_pointer_test.cc

parent a7e94398
......@@ -74,7 +74,7 @@ int* IntObjectTestPool::Allocate() {
}
void IntObjectTestPool::Release(int* object_pointer) {
int cell = object_pointer - simplePoolObjects;
int cell = (int) (object_pointer - simplePoolObjects);
simplePool[cell].Store(FREE_MARKER);
}
......
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