diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-01 12:27:03 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-01 12:27:03 +0100 |
commit | fee20bd8de0f9c4222f7123f5c6ea31f00221d7b (patch) | |
tree | 4f2f87b0b2bc9f96f85c6f2390acca8e70373144 /Kernel/VM/Region.cpp | |
parent | b6144620795df0f01708694e1d45217af6fa0286 (diff) | |
download | serenity-fee20bd8de0f9c4222f7123f5c6ea31f00221d7b.zip |
Kernel: Remove some more harmless InodeVMObject miscasts
Diffstat (limited to 'Kernel/VM/Region.cpp')
-rw-r--r-- | Kernel/VM/Region.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/Region.cpp b/Kernel/VM/Region.cpp index dbe4e363c8..1fd3b48cba 100644 --- a/Kernel/VM/Region.cpp +++ b/Kernel/VM/Region.cpp @@ -146,7 +146,7 @@ size_t Region::amount_dirty() const { if (!vmobject().is_inode()) return amount_resident(); - return static_cast<const SharedInodeVMObject&>(vmobject()).amount_dirty(); + return static_cast<const InodeVMObject&>(vmobject()).amount_dirty(); } size_t Region::amount_resident() const |