summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-03-24 13:05:37 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-03-24 13:05:37 +0100
commitaf56174b981e291bdd1d07f18c8e490e2bac0049 (patch)
treeb5a0bc00dab10e314faeb13ee7847309e82a13a4 /src/plugins
parentc4cfd651fc5ff993fd52ae48794a72a09cd1ee05 (diff)
downloadweechat-af56174b981e291bdd1d07f18c8e490e2bac0049.zip
tcl: fix pointer sent to function hook_signal_send when type of data is a pointer
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/scripts/tcl/weechat-tcl-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/tcl/weechat-tcl-api.c b/src/plugins/scripts/tcl/weechat-tcl-api.c
index 03812d0d0..941cc9785 100644
--- a/src/plugins/scripts/tcl/weechat-tcl-api.c
+++ b/src/plugins/scripts/tcl/weechat-tcl-api.c
@@ -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;
}