summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/FileManager.cxx
diff options
context:
space:
mode:
authorAmlal <amlal@zka.com>2024-07-23 17:18:32 +0200
committerAmlal <amlal@zka.com>2024-07-23 17:18:32 +0200
commita4f908c4d3d0c8d5a3578bf81028986405e96937 (patch)
treea3a689dba643fc8393d16aed0064b7de1f13d020 /Kernel/Sources/FileManager.cxx
parent274cba18b8f1c255ddcff2f5c14aab4d0c846820 (diff)
[MHR-36] Refactors and such.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Kernel/Sources/FileManager.cxx')
-rw-r--r--Kernel/Sources/FileManager.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Kernel/Sources/FileManager.cxx b/Kernel/Sources/FileManager.cxx
index 6684ce0d..dcdced27 100644
--- a/Kernel/Sources/FileManager.cxx
+++ b/Kernel/Sources/FileManager.cxx
@@ -121,8 +121,8 @@ namespace Kernel
NEWOS_UNUSED(flags);
- if ((reinterpret_cast<NewCatalog*>(node))->Kind == kNewFSCatalogKindFile)
- fImpl->WriteCatalog(reinterpret_cast<NewCatalog*>(node), data, size,
+ if ((reinterpret_cast<NFS_CATALOG_STRUCT*>(node))->Kind == kNewFSCatalogKindFile)
+ fImpl->WriteCatalog(reinterpret_cast<NFS_CATALOG_STRUCT*>(node), data, size,
name);
}
@@ -139,8 +139,8 @@ namespace Kernel
NEWOS_UNUSED(flags);
- if ((reinterpret_cast<NewCatalog*>(node))->Kind == kNewFSCatalogKindFile)
- return fImpl->ReadCatalog(reinterpret_cast<NewCatalog*>(node), sz,
+ if ((reinterpret_cast<NFS_CATALOG_STRUCT*>(node))->Kind == kNewFSCatalogKindFile)
+ return fImpl->ReadCatalog(reinterpret_cast<NFS_CATALOG_STRUCT*>(node), sz,
name);
return nullptr;
@@ -157,7 +157,7 @@ namespace Kernel
if (!node || off == 0)
return false;
- return fImpl->Seek(reinterpret_cast<NewCatalog*>(node), off);
+ return fImpl->Seek(reinterpret_cast<NFS_CATALOG_STRUCT*>(node), off);
}
/// @brief Tell where the catalog is.
@@ -170,7 +170,7 @@ namespace Kernel
if (!node)
return kNPos;
- return fImpl->Tell(reinterpret_cast<NewCatalog*>(node));
+ return fImpl->Tell(reinterpret_cast<NFS_CATALOG_STRUCT*>(node));
}
/// @brief Rewinds the catalog.