diff options
-rw-r--r-- | src/fs/virtfs/fsdir.cpp | 2 |
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; |