diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-01 20:13:01 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-01 20:13:01 +0200 |
commit | 2475ba43a3a3a5b9c894d71c91cd1c598b60039b (patch) | |
tree | 67b3151b063fe9c13c3900953f731b75b83eb28c /src/plugins | |
parent | d2c2f9e6cd13caa2855081c5986a0df9c685d6fc (diff) | |
download | weechat-2475ba43a3a3a5b9c894d71c91cd1c598b60039b.zip |
javascript: fix return of long value in functions infolist_time, hdata_long and hdata_time
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/javascript/weechat-js-api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/javascript/weechat-js-api.cpp b/src/plugins/javascript/weechat-js-api.cpp index 271108387..c042b7775 100644 --- a/src/plugins/javascript/weechat-js-api.cpp +++ b/src/plugins/javascript/weechat-js-api.cpp @@ -116,7 +116,7 @@ extern "C" #define API_RETURN_INT(__int) \ return v8::Integer::New(__int) #define API_RETURN_LONG(__int) \ - return v8::Integer::New(__int) + return v8::Number::New(__int) /* |