mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
More moving towards using signed types.
I'm still feeling this out, but I am starting to like the general idea.
This commit is contained in:
parent
beda478821
commit
9624b54703
48 changed files with 234 additions and 250 deletions
|
@ -10,7 +10,7 @@ public:
|
|||
DiskDevice& device() { return *m_device; }
|
||||
const DiskDevice& device() const { return *m_device; }
|
||||
|
||||
size_t block_size() const { return m_block_size; }
|
||||
int block_size() const { return m_block_size; }
|
||||
|
||||
protected:
|
||||
explicit DiskBackedFS(Retained<DiskDevice>&&);
|
||||
|
@ -24,6 +24,6 @@ protected:
|
|||
bool write_blocks(unsigned index, unsigned count, const ByteBuffer&);
|
||||
|
||||
private:
|
||||
size_t m_block_size { 0 };
|
||||
int m_block_size { 0 };
|
||||
Retained<DiskDevice> m_device;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue