aboutsummaryrefslogtreecommitdiff
path: root/zencore/string.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-09-29 16:54:24 +0200
committerMartin Ridgers <[email protected]>2021-09-29 16:57:32 +0200
commit2cebe6fca3655a4e33baf96745438e8c3c552b13 (patch)
tree2a8ea6d367ae74025dc4b9758b6cda6f1ac996af /zencore/string.cpp
parentConfirm assumption about the size of wchar_t (diff)
downloadzen-2cebe6fca3655a4e33baf96745438e8c3c552b13.tar.xz
zen-2cebe6fca3655a4e33baf96745438e8c3c552b13.zip
There is no ssize_t on Windows
Diffstat (limited to 'zencore/string.cpp')
-rw-r--r--zencore/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/string.cpp b/zencore/string.cpp
index df387dc3c..4bf0378b2 100644
--- a/zencore/string.cpp
+++ b/zencore/string.cpp
@@ -76,7 +76,7 @@ FilepathFindExtension(const std::string_view& Path, const char* ExtensionToMatch
// Look for extension introducer ('.')
- for (ssize_t i = PathLen - 1; i >= 0; --i)
+ for (int64_t i = PathLen - 1; i >= 0; --i)
{
if (Path[i] == '.')
return Path.data() + i;