Index: src/platform/update_engine/delta_performer.cc |
diff --git a/src/platform/update_engine/delta_performer.cc b/src/platform/update_engine/delta_performer.cc |
index 79aea61c4025cdd44c2251ebe7ae8e53872162fe..765fc1e923da153136ab9763f5c7211ef83e6d06 100644 |
--- a/src/platform/update_engine/delta_performer.cc |
+++ b/src/platform/update_engine/delta_performer.cc |
@@ -110,7 +110,7 @@ int DeltaPerformer::Close() { |
// -errno on error. |
// This function performs as many actions as it can, given the amount of |
// data received thus far. |
-int DeltaPerformer::Write(const void* bytes, size_t count) { |
+ssize_t DeltaPerformer::Write(const void* bytes, size_t count) { |
const char* c_bytes = reinterpret_cast<const char*>(bytes); |
buffer_.insert(buffer_.end(), c_bytes, c_bytes + count); |