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: change msgpack_pack_uint32 by msgpack_pack_uint64
Signed-off-by: Manuel Luis Sanmartín Rozada <[email protected]>
  • Loading branch information
manuelluis committed Jul 10, 2018
commit 59e4073fb5f63233c8e9301a7187c3e49001a956
2 changes: 1 addition & 1 deletion plugins/filter_lua/lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static void lua_tomsgpack(lua_State *l, msgpack_packer *pck, int index)
msgpack_pack_uint64(pck, *(uint16_t *)cdata);
break;
case CTID_UINT32:
msgpack_pack_uint32(pck, *(uint32_t *)cdata);
msgpack_pack_uint64(pck, *(uint32_t *)cdata);
break;
case CTID_UINT64:
msgpack_pack_uint64(pck, *(uint64_t *)cdata);
Expand Down