From 2cebe6fca3655a4e33baf96745438e8c3c552b13 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Wed, 29 Sep 2021 16:54:24 +0200 Subject: There is no ssize_t on Windows --- zencore/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zencore/string.cpp') 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; -- cgit v1.2.3