summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fs/virtfs/fsdir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/fsdir.cpp b/src/fs/virtfs/fsdir.cpp
index e205e8362..c3b0d3c66 100644
--- a/src/fs/virtfs/fsdir.cpp
+++ b/src/fs/virtfs/fsdir.cpp
@@ -173,7 +173,7 @@ namespace FsDir
std::string dirName A_UNUSED,
std::string &realDir)
{
- DirEntry *const dirEntry = static_cast<DirEntry*>(entry);
+ const DirEntry *const dirEntry = static_cast<const DirEntry*>(entry);
if (Files::existsLocal(dirEntry->rootSubDir + filename))
{
realDir = dirEntry->userDir;