Index: util/net/http_transport_test.cc |
diff --git a/util/net/http_transport_test.cc b/util/net/http_transport_test.cc |
index 0bb2985738a21e69901c633dd5ea1a56bb1c790f..fe4099980b8d8d0dff85e0ed362fb6f9d1077b4b 100644 |
--- a/util/net/http_transport_test.cc |
+++ b/util/net/http_transport_test.cc |
@@ -121,7 +121,7 @@ class HTTPTransportTestFixture : public MultiprocessExec { |
// Read until the child's stdout closes. |
std::string request; |
char buf[32]; |
- ssize_t bytes_read; |
+ FileOperationResult bytes_read; |
while ((bytes_read = ReadFile(ReadPipeHandle(), buf, sizeof(buf))) != 0) { |
ASSERT_GE(bytes_read, 0); |
request.append(buf, bytes_read); |