From 62db0c601b846f6271bc996f9ef3be3387382db3 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Mon, 21 Jul 2014 22:57:07 +0300 Subject: [PATCH] Update LuaEngine.cpp --- LuaEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LuaEngine.cpp b/LuaEngine.cpp index 089c9f2..9822da5 100644 --- a/LuaEngine.cpp +++ b/LuaEngine.cpp @@ -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);