aboutsummaryrefslogtreecommitdiff
path: root/zencore/string.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-09-29 15:43:08 +0200
committerMartin Ridgers <[email protected]>2021-09-29 16:57:32 +0200
commit1ff544358cca129bee1b9f60d1cc396751c2e1f6 (patch)
treeaaec1585c2042059ef37ff725a05b088b873cceb /zencore/string.cpp
parentPrevent mesh tests to crash by moving behind define. (diff)
downloadzen-1ff544358cca129bee1b9f60d1cc396751c2e1f6.tar.xz
zen-1ff544358cca129bee1b9f60d1cc396751c2e1f6.zip
Fixed signed/unsigned mismatched warnings from GCC
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 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;