Skip to content

Commit 9323a5f

Browse files
committed
fix debug log for string value conversion
1 parent d892818 commit 9323a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/LuaStack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ namespace lua { namespace stack {
130130

131131
template<>
132132
inline int push(lua_State* luaState, std::string value) {
133-
LUASTATE_DEBUG_LOG(" PUSH %s", value);
133+
LUASTATE_DEBUG_LOG(" PUSH %s", value.c_str());
134134
lua_pushstring(luaState, value.c_str());
135135
return 1;
136136
}

0 commit comments

Comments
 (0)