Commit a9188218 authored by Max Kellermann's avatar Max Kellermann

fs/Traits: add missing dereference in RelativePathImpl()

parent c637b96f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment