summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/fs_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/fs_path.h')
-rw-r--r--src/core/file_sys/fs_path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/fs_path.h b/src/core/file_sys/fs_path.h
index 56ba08a6a..1566e82b9 100644
--- a/src/core/file_sys/fs_path.h
+++ b/src/core/file_sys/fs_path.h
@@ -381,7 +381,7 @@ public:
// Check that it's possible for us to remove a child
auto* p = m_write_buffer.Get();
- s32 len = std::strlen(p);
+ s32 len = static_cast<s32>(std::strlen(p));
R_UNLESS(len != 1 || (p[0] != '/' && p[0] != '.'), ResultNotImplemented);
// Handle a trailing separator