Index: src/platform/update_engine/extent_writer.h |
diff --git a/src/platform/update_engine/extent_writer.h b/src/platform/update_engine/extent_writer.h |
index cbb62fefeaff3fd50c81fb3bd756322cca18be61..898c55efa1543c67ce8967e118744b523ad46dc2 100644 |
--- a/src/platform/update_engine/extent_writer.h |
+++ b/src/platform/update_engine/extent_writer.h |
@@ -29,7 +29,7 @@ class ExtentWriter { |
// Returns true on success. |
virtual bool Init(int fd, |
const std::vector<Extent>& extents, |
- size_t block_size) = 0; |
+ uint32 block_size) = 0; |
Daniel Erat
2010/04/15 00:55:47
switch this to uint32_t
|
// Returns true on success. |
virtual bool Write(const void* bytes, size_t count) = 0; |
@@ -57,7 +57,7 @@ class DirectExtentWriter : public ExtentWriter { |
next_extent_index_(0) {} |
~DirectExtentWriter() {} |
- bool Init(int fd, const std::vector<Extent>& extents, size_t block_size) { |
+ bool Init(int fd, const std::vector<Extent>& extents, uint32 block_size) { |
Daniel Erat
2010/04/15 00:55:47
this too
|
fd_ = fd; |
block_size_ = block_size; |
extents_ = extents; |
@@ -92,7 +92,7 @@ class ZeroPadExtentWriter : public ExtentWriter { |
bytes_written_mod_block_size_(0) {} |
~ZeroPadExtentWriter() {} |
- bool Init(int fd, const std::vector<Extent>& extents, size_t block_size) { |
+ bool Init(int fd, const std::vector<Extent>& extents, uint32 block_size) { |
Daniel Erat
2010/04/15 00:55:47
and this
|
block_size_ = block_size; |
return underlying_extent_writer_->Init(fd, extents, block_size); |
} |