aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--butl/path.ixx4
1 files changed, 3 insertions, 1 deletions
diff --git a/butl/path.ixx b/butl/path.ixx
index c2047eb..8dac717 100644
--- a/butl/path.ixx
+++ b/butl/path.ixx
@@ -198,7 +198,9 @@ namespace butl
{
return absolute ()
#ifdef _WIN32
- ? dir_type (this->path_, 2)
+ // Disambiguate with dir_type(string_type,bool).
+ //
+ ? dir_type (this->path_, static_cast<size_type> (2))
#else
? dir_type ("/")
#endif