From af56174b981e291bdd1d07f18c8e490e2bac0049 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 24 Mar 2012 13:05:37 +0100 Subject: tcl: fix pointer sent to function hook_signal_send when type of data is a pointer --- src/plugins/scripts/tcl/weechat-tcl-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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; } -- cgit v1.2.3