Skip to content

Commit

Permalink
refs #70, mingw compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Oct 5, 2020
1 parent f15dea9 commit a22c0a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ghc/filesystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a22c0a9

Please sign in to comment.