Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter_lua: clean lua_pushcdata and add mode CDATA types #677

Merged
merged 5 commits into from
Jul 10, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
filter_lua: swap lua_pushuint64 and lua_pushint64
Signed-off-by: Manuel Luis Sanmartín Rozada <[email protected]>
  • Loading branch information
manuelluis committed Jul 10, 2018
commit 2490c87a14f28c6f56f99e9d54cb701b01ad707d
4 changes: 2 additions & 2 deletions plugins/filter_lua/lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ static void lua_pushmsgpack(lua_State *l, msgpack_object *o)
break;

case MSGPACK_OBJECT_POSITIVE_INTEGER:
lua_pushint64(l, o->via.u64);
lua_pushuint64(l, o->via.u64);
break;

case MSGPACK_OBJECT_NEGATIVE_INTEGER:
lua_pushuint64(l, o->via.i64);
lua_pushint64(l, o->via.i64);
break;

case MSGPACK_OBJECT_FLOAT32:
Expand Down