Adapt to new fspp interface

This commit is contained in:
Sebastian Messmer 2015-12-07 12:14:06 +01:00
parent d26f218f2e
commit 0959971b93
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ void CryOpenFile::truncate(off_t size) const {
_fileBlob->resize(size);
}
ssize_t CryOpenFile::read(void *buf, size_t count, off_t offset) const {
size_t CryOpenFile::read(void *buf, size_t count, off_t offset) const {
_device->callFsActionCallbacks();
return _fileBlob->read(buf, offset, count);
}

View File

@ -15,7 +15,7 @@ public:
void stat(struct ::stat *result) const override;
void truncate(off_t size) const override;
ssize_t read(void *buf, size_t count, off_t offset) const override;
size_t read(void *buf, size_t count, off_t offset) const override;
void write(const void *buf, size_t count, off_t offset) override;
void flush() override;
void fsync() override;