From 95e3aec719f69898cee423dd687149b2d18e6d00 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 1 Mar 2020 11:23:23 +0100 Subject: [PATCH] Kernel: Fix harmless type miscast in Process::amount_clean_inode() --- Kernel/Process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 4a140fa547f..1dc089923bf 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -3091,10 +3091,10 @@ size_t Process::amount_dirty_private() const size_t Process::amount_clean_inode() const { - HashTable vmobjects; + HashTable vmobjects; for (auto& region : m_regions) { if (region.vmobject().is_inode()) - vmobjects.set(&static_cast(region.vmobject())); + vmobjects.set(&static_cast(region.vmobject())); } size_t amount = 0; for (auto& vmobject : vmobjects)