Eluna fix build

This commit is contained in:
Rochet2
2014-06-04 20:47:33 +03:00
committed by Foereaper
parent 77ff26ac8e
commit 8acf303652
3 changed files with 16 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ ENDCALL();
lua_State* L = sEluna->L; \
uint32 _LuaEvent = EVENT; \
int _LuaStackTop = lua_gettop(L); \
for (int i = 0; i < sEluna->BINDMAP->Bindings[EVENT].size(); ++i) \
for (size_t i = 0; i < sEluna->BINDMAP->Bindings[EVENT].size(); ++i) \
lua_rawgeti(L, LUA_REGISTRYINDEX, (sEluna->BINDMAP->Bindings[EVENT][i])); \
int _LuaFuncTop = lua_gettop(L); \
Eluna::Push(L, _LuaEvent);