From 1ff544358cca129bee1b9f60d1cc396751c2e1f6 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Wed, 29 Sep 2021 15:43:08 +0200 Subject: Fixed signed/unsigned mismatched warnings from GCC --- 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 6dcdc9542..df387dc3c 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 (size_t i = PathLen - 1; i >= 0; --i) + for (ssize_t i = PathLen - 1; i >= 0; --i) { if (Path[i] == '.') return Path.data() + i; -- cgit v1.2.3