mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
tcl: fix truncation of long integer returned by function hdata_long
This commit is contained in:
@@ -20,6 +20,7 @@ Bug fixes::
|
||||
* script: always display list of scripts when searching scripts with `/script search` (issue #2077)
|
||||
* script: fix default mouse keys (issue #2076)
|
||||
* scripts: fix crash on script unload when a hook is created in a buffer close callback (issue #2067)
|
||||
* tcl: fix truncation of long integer returned by function hdata_long
|
||||
* trigger: fix memory leak when adding a new trigger with `/trigger` command
|
||||
|
||||
[[v4.2.1]]
|
||||
|
||||
@@ -5686,7 +5686,8 @@ API_FUNC(hdata_long)
|
||||
{
|
||||
Tcl_Obj *objp;
|
||||
char *hdata, *pointer, *name;
|
||||
int result, i;
|
||||
long result;
|
||||
int i;
|
||||
|
||||
API_INIT_FUNC(1, "hdata_long", API_RETURN_LONG(0));
|
||||
if (objc < 4)
|
||||
|
||||
Reference in New Issue
Block a user