| Index: ipc/ipc_perftest_support.cc
|
| diff --git a/ipc/ipc_perftest_support.cc b/ipc/ipc_perftest_support.cc
|
| index 3af0a1fa948bc567962d8be9c66323f5bc1bd746..2ece5e1f11f10c43dc8ee749332d4b13e04d132f 100644
|
| --- a/ipc/ipc_perftest_support.cc
|
| +++ b/ipc/ipc_perftest_support.cc
|
| @@ -348,7 +348,7 @@ scoped_refptr<base::TaskRunner> PingPongTestClient::task_runner() {
|
| LockThreadAffinity::LockThreadAffinity(int cpu_number)
|
| : affinity_set_ok_(false) {
|
| #if defined(OS_WIN)
|
| - const DWORD_PTR thread_mask = 1 << cpu_number;
|
| + const DWORD_PTR thread_mask = static_cast<DWORD_PTR>(1) << cpu_number;
|
| old_affinity_ = SetThreadAffinityMask(GetCurrentThread(), thread_mask);
|
| affinity_set_ok_ = old_affinity_ != 0;
|
| #elif defined(OS_LINUX)
|
|
|