aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fs/Traits.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/Traits.cxx b/src/fs/Traits.cxx
index 225a6ee71..e434a779c 100644
--- a/src/fs/Traits.cxx
+++ b/src/fs/Traits.cxx
@@ -98,7 +98,7 @@ RelativePathImpl(typename Traits::const_pointer base,
return nullptr;
other += base_length;
- if (other != 0) {
+ if (*other != 0) {
if (!Traits::IsSeparator(*other))
/* mismatch */
return nullptr;