Index: src/platform/update_engine/mock_file_writer.h |
diff --git a/src/platform/update_engine/mock_file_writer.h b/src/platform/update_engine/mock_file_writer.h |
index 7cf0fd531cc15fc5de8eaa0856f0a1d1469541e6..f2785cc8aa4a435ab609ee2e8878de327fb91f6c 100644 |
--- a/src/platform/update_engine/mock_file_writer.h |
+++ b/src/platform/update_engine/mock_file_writer.h |
@@ -25,7 +25,7 @@ class MockFileWriter : public FileWriter { |
return 0; |
} |
- virtual int Write(const void* bytes, size_t count) { |
+ virtual ssize_t Write(const void* bytes, size_t count) { |
CHECK(was_opened_); |
CHECK(!was_closed_); |
const char* char_bytes = reinterpret_cast<const char*>(bytes); |