summaryrefslogtreecommitdiffstats
path: root/pokemod/Path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Path.cpp')
-rw-r--r--pokemod/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/Path.cpp b/pokemod/Path.cpp
index a8fa5ebb..2e7e8a20 100644
--- a/pokemod/Path.cpp
+++ b/pokemod/Path.cpp
@@ -59,7 +59,7 @@ bool PokeGen::PokeMod::Path::DoesExist()
bool PokeGen::PokeMod::Path::HasExtension(const String &ext)
{
- unsigned pos = rfind('.');
+ size_t pos = rfind('.');
bool ret = true;
String fileExt(substr(pos + 1));
if ((pos == npos) || (pos + 1 == length()) || (fileExt.length() != ext.length()))