summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/lua/weechat-lua-api.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-22 12:58:05 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-22 12:58:05 +0200
commita965be6802bbc601096c4186d3e338652b6c9bd2 (patch)
treee454aa878bf71ab99f47884721a69c2e33918299 /src/plugins/scripts/lua/weechat-lua-api.c
parent533155816dec43a5c9861c7e648736a8d5122c14 (diff)
downloadweechat-a965be6802bbc601096c4186d3e338652b6c9bd2.zip
Add function buffer_set_pointer in plugin API
Diffstat (limited to 'src/plugins/scripts/lua/weechat-lua-api.c')
-rw-r--r--src/plugins/scripts/lua/weechat-lua-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua-api.c b/src/plugins/scripts/lua/weechat-lua-api.c
index a126669f8..081a2e083 100644
--- a/src/plugins/scripts/lua/weechat-lua-api.c
+++ b/src/plugins/scripts/lua/weechat-lua-api.c
@@ -3871,7 +3871,7 @@ weechat_lua_api_buffer_set (lua_State *L)
property = lua_tostring (lua_current_interpreter, -2);
value = lua_tostring (lua_current_interpreter, -1);
- weechat_buffer_set (script_str2ptr (buffer), property, (void *)value);
+ weechat_buffer_set (script_str2ptr (buffer), property, value);
LUA_RETURN_OK;
}
@@ -4530,7 +4530,7 @@ weechat_lua_api_bar_set (lua_State *L)
weechat_buffer_set (script_str2ptr (bar),
property,
- (void *)value);
+ value);
LUA_RETURN_OK;
}