1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

tcl: fix pointer sent to function hook_signal_send when type of data is a pointer

This commit is contained in:
Sebastien Helleu
2012-03-24 13:05:37 +01:00
parent c4cfd651fc
commit af56174b98
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -41,6 +41,8 @@ Version 0.3.8 (under dev!)
(WeeChat protocol)
* rmodifier: add option "release" in default rmodifier "nickserv" (used to hide
passwords in command "/msg nickserv") (bug #35705)
* tcl: fix pointer sent to function hook_signal_send when type of data is
a pointer
Version 0.3.7 (2012-02-26)
--------------------------
+1 -1
View File
@@ -3305,7 +3305,7 @@ weechat_tcl_api_hook_signal_send (ClientData clientData, Tcl_Interp *interp,
{
weechat_hook_signal_send (signal,
type_data,
Tcl_GetStringFromObj (objv[3], &i)); /* signal_data */
API_STR2PTR(Tcl_GetStringFromObj (objv[3], &i))); /* signal_data */
API_RETURN_OK;
}