File: Widen size/offset types for 64-bit filesystems.

This commit is contained in:
Jared Boone
2016-08-21 22:15:19 -07:00
parent f7bfde73b6
commit ed791ac5bd
5 changed files with 19 additions and 17 deletions

View File

@@ -48,7 +48,7 @@ public:
return file.create(filename);
}
File::Result<size_t> write(const void* const buffer, const size_t bytes) override {
File::Result<File::Size> write(const void* const buffer, const File::Size bytes) override {
auto write_result = file.write(buffer, bytes) ;
if( write_result.is_ok() ) {
bytes_written += write_result.value();