Commit 09783257 by lucapegolotti

Switched c style cast in c++ style cast in containers_cpp/tests/hazard_pointer_test.cc(77)

parent d68bc488
......@@ -74,7 +74,7 @@ int* IntObjectTestPool::Allocate() {
}
void IntObjectTestPool::Release(int* object_pointer) {
int cell = (int) (object_pointer - simplePoolObjects);
int cell = static_cast<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