refs #70, mingw compile fix

This commit is contained in:
Steffen Schuemann 2020-10-05 22:41:46 +02:00
parent f15dea9695
commit a22c0a94d0

View File

@ -2695,8 +2695,8 @@ GHC_INLINE int path::compare(const path& p) const noexcept
++rnl1;
++rnl2;
}
auto iter1 = _path.begin() + rnl1;
auto iter2 = p._path.begin() + rnl2;
auto iter1 = _path.begin() + static_cast<int>(rnl1);
auto iter2 = p._path.begin() + static_cast<int>(rnl2);
while (iter1 != _path.end() && iter2 != p._path.end() && *iter1 == *iter2) {
++iter1;
++iter2;