From 09783257115ecf72e5522430de01d852c44ee175 Mon Sep 17 00:00:00 2001 From: lucapegolotti Date: Wed, 20 Apr 2016 12:49:49 +0200 Subject: [PATCH] Switched c style cast in c++ style cast in containers_cpp/tests/hazard_pointer_test.cc(77) --- containers_cpp/test/hazard_pointer_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers_cpp/test/hazard_pointer_test.cc b/containers_cpp/test/hazard_pointer_test.cc index 576562b..b3c3c94 100644 --- a/containers_cpp/test/hazard_pointer_test.cc +++ b/containers_cpp/test/hazard_pointer_test.cc @@ -74,7 +74,7 @@ int* IntObjectTestPool::Allocate() { } void IntObjectTestPool::Release(int* object_pointer) { - int cell = (int) (object_pointer - simplePoolObjects); + int cell = static_cast(object_pointer - simplePoolObjects); simplePool[cell].Store(FREE_MARKER); } -- libgit2 0.26.0