Skip to content

Commit

Permalink
Fix ustring on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Sep 16, 2023
1 parent 35447c1 commit 36357fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xtd.core/src/xtd/ustring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ ustring ustring::replace(const ustring& old_string, const ustring& new_string) c
auto result = *this;
auto old_size = old_string.length();
auto new_size = new_string.length();
auto index = 0ul;
auto index = 0_sz;
while (true) {
index = result.find(old_string, index);
if (index == npos) break;
Expand Down

0 comments on commit 36357fb

Please sign in to comment.