aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r--bpkg/auth.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx
index dc4aba8..da4d0b5 100644
--- a/bpkg/auth.cxx
+++ b/bpkg/auth.cxx
@@ -70,7 +70,7 @@ namespace bpkg
if (rl.remote ())
return repository_location (p.posix_string (), rl).canonical_name ();
else
- return (rl.path () / p).normalize ().string ();
+ return (path_cast<dir_path> (rl.path ()) / p).normalize ().string ();
}
// Authenticate a dummy certificate. If trusted, it will authenticate all