From b8e52b09c37877bf301ca64e76db3131010c5fb6 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 10 Jan 2015 14:06:25 +0100 Subject: Fix compile with LuaBridge --- 3rdparty/luabridge/Source/LuaBridge/detail/Stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/luabridge/Source/LuaBridge/detail/Stack.h b/3rdparty/luabridge/Source/LuaBridge/detail/Stack.h index 9d6f61a2ba6..1a0aae7c29b 100644 --- a/3rdparty/luabridge/Source/LuaBridge/detail/Stack.h +++ b/3rdparty/luabridge/Source/LuaBridge/detail/Stack.h @@ -457,7 +457,7 @@ struct Stack { static inline void push (lua_State* L, std::string const& str) { - lua_pushstring (L, str.c_str(), str.size()); + lua_pushstring (L, str.c_str()); } static inline std::string get (lua_State* L, int index) -- cgit v1.2.3