1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

tcl: fix truncation of long integer returned by function hdata_long

This commit is contained in:
Sébastien Helleu
2024-02-25 16:12:54 +01:00
parent 53fdd3458b
commit 33a6c852b7
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@ Bug fixes::
* core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
* script: always display list of scripts when searching scripts with `/script search` (issue #2077)
* script: fix default mouse keys (issue #2076)
* tcl: fix truncation of long integer returned by function hdata_long
* trigger: fix memory leak when adding a new trigger with `/trigger` command
Build::
+2 -1
View File
@@ -5617,7 +5617,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)