Index: util/net/http_body_test.cc |
diff --git a/util/net/http_body_test.cc b/util/net/http_body_test.cc |
index 8ec334d36e6016ab825a27579f5a0b115b701112..ea4d869305f86c7ed08b74e13878fca3f079d78b 100644 |
--- a/util/net/http_body_test.cc |
+++ b/util/net/http_body_test.cc |
@@ -47,7 +47,7 @@ TEST(StringHTTPBodyStream, SmallString) { |
std::string string("Hello, world"); |
StringHTTPBodyStream stream(string); |
- EXPECT_EQ(implicit_cast<ssize_t>(string.length()), |
+ EXPECT_EQ(implicit_cast<FileOperationResult>(string.length()), |
stream.GetBytesBuffer(buf, sizeof(buf))); |
std::string actual(reinterpret_cast<const char*>(buf), string.length()); |