Update LuaEngine.cpp

This commit is contained in:
Rochet2
2014-07-21 22:57:07 +03:00
parent 1bfaf5a44b
commit 62db0c601b

View File

@@ -188,7 +188,7 @@ void Eluna::GetScripts(std::string path, ScriptList& scripts)
// split file name
std::string filename = directory->d_name;
uint32 extDot = filename.find_last_of('.');
std::size_t extDot = filename.find_last_of('.');
if (extDot == std::string::npos)
continue;
std::string ext = filename.substr(extDot);