diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-25 16:12:54 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-25 16:12:54 +0100 |
commit | c5887354bd0a507afb7ad6f8852f89899a489375 (patch) | |
tree | dcaac713b5d78f301689d1da6b824655c181bc89 /src | |
parent | 3f08785aee5fd57834cf64e48212563f9d76e6af (diff) | |
download | weechat-c5887354bd0a507afb7ad6f8852f89899a489375.zip |
tcl: fix truncation of long integer returned by function hdata_long
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/tcl/weechat-tcl-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tcl/weechat-tcl-api.c b/src/plugins/tcl/weechat-tcl-api.c index 3f58141bd..5c1776d12 100644 --- a/src/plugins/tcl/weechat-tcl-api.c +++ b/src/plugins/tcl/weechat-tcl-api.c @@ -5561,7 +5561,7 @@ API_FUNC(hdata_long) { Tcl_Obj *objp; char *hdata, *pointer, *name; - int result; + long result; API_INIT_FUNC(1, "hdata_long", API_RETURN_LONG(0)); if (objc < 4) |