Index: test/win/win_child_process.cc |
diff --git a/test/win/win_child_process.cc b/test/win/win_child_process.cc |
index b0efa462373c0436d07e4a3ff74f0456c0414132..577b6b6356196878c095a7d3c92bc366fd75a183 100644 |
--- a/test/win/win_child_process.cc |
+++ b/test/win/win_child_process.cc |
@@ -152,8 +152,8 @@ WinChildProcess::WinChildProcess() { |
unsigned int write, read; |
CHECK(StringToNumber(left, &write)); |
CHECK(StringToNumber(right, &read)); |
- pipe_write_.reset(reinterpret_cast<HANDLE>(write)); |
- pipe_read_.reset(reinterpret_cast<HANDLE>(read)); |
+ pipe_write_.reset(reinterpret_cast<HANDLE>(static_cast<uintptr_t>(write))); |
+ pipe_read_.reset(reinterpret_cast<HANDLE>(static_cast<uintptr_t>(read))); |
// Notify the parent that it's OK to proceed. We only need to wait to get to |
// the process entry point, but this is the easiest place we can notify. |