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:
@@ -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)
|
||||
--------------------------
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user