Adapt to new fspp interface
This commit is contained in:
parent
d26f218f2e
commit
0959971b93
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user