diff options
Diffstat (limited to 'backends/fs/morphos')
-rw-r--r-- | backends/fs/morphos/abox-fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/morphos/abox-fs.cpp b/backends/fs/morphos/abox-fs.cpp index 8b75f582a0..6cc53a7b54 100644 --- a/backends/fs/morphos/abox-fs.cpp +++ b/backends/fs/morphos/abox-fs.cpp @@ -204,7 +204,7 @@ FilesystemNode *ABoxFilesystemNode::parent() const if (_lock == NULL) /* Parent of the root is the root itself */ - node = const_cast<ABoxFilesystemNode*>(this); + node = clone(); else { BPTR parent_lock = ParentDir(_lock); |