Index: test/win/win_child_process.cc |
diff --git a/test/win/win_child_process.cc b/test/win/win_child_process.cc |
index 7d179337277ecbf06cde175145fe66ff942d1674..fdebfbcd369a585315a32a8e77e94e0095cf9d48 100644 |
--- a/test/win/win_child_process.cc |
+++ b/test/win/win_child_process.cc |
@@ -150,9 +150,13 @@ WinChildProcess::WinChildProcess() { |
// values are passed to the child on the command line. |
std::string left, right; |
CHECK(SplitString(switch_value, '|', &left, &right)); |
+ |
+ // left and right were formatted as 0x%x, so they need to be converted as |
+ // unsigned ints. |
unsigned int write, read; |
CHECK(StringToNumber(left, &write)); |
CHECK(StringToNumber(right, &read)); |
+ |
pipe_write_.reset(IntToHandle(write)); |
pipe_read_.reset(IntToHandle(read)); |