aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/fs_path_utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/fs_path_utility.h')
-rw-r--r--src/core/file_sys/fs_path_utility.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/fs_path_utility.h b/src/core/file_sys/fs_path_utility.h
index cdfd8c7729..3af23b0bba 100644
--- a/src/core/file_sys/fs_path_utility.h
+++ b/src/core/file_sys/fs_path_utility.h
@@ -683,7 +683,7 @@ public:
const auto max_mount_len =
out_mount_name_buffer_size == 0
? MountNameLengthMax + 1
- : std::min(MountNameLengthMax + 1, out_mount_name_buffer_size);
+ : (std::min)(MountNameLengthMax + 1, out_mount_name_buffer_size);
// Parse the path until we see a drive separator
size_t mount_len = 0;