Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Unified Diff: test/win/win_child_process.cc

Issue 1357833002: win: Get Crashpad compiling under VS2015 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: include Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/win/system_snapshot_win_test.cc ('k') | util/win/exception_handler_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « snapshot/win/system_snapshot_win_test.cc ('k') | util/win/exception_handler_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698