Index: src/platform/update_engine/decompressing_file_writer.cc |
diff --git a/src/platform/update_engine/decompressing_file_writer.cc b/src/platform/update_engine/decompressing_file_writer.cc |
old mode 100644 |
new mode 100755 |
index 96db0100b18dbab125b4cd8a66f8f14ed20e8fa1..0a3280de0004b0715e310583281930ef9889845a |
--- a/src/platform/update_engine/decompressing_file_writer.cc |
+++ b/src/platform/update_engine/decompressing_file_writer.cc |
@@ -27,7 +27,7 @@ namespace chromeos_update_engine { |
// uLong reserved; /* reserved for future use */ |
// } z_stream; |
-int GzipDecompressingFileWriter::Write(const void* bytes, size_t count) { |
+ssize_t GzipDecompressingFileWriter::Write(const void* bytes, size_t count) { |
// Steps: |
// put the data on next_in |
// call inflate until it returns nothing, each time writing what we get |