1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 03:33:12 +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 4f6af9cf81
commit c6e11ac95b
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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)