1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

javascript: fix return of long value in functions infolist_time, hdata_long and hdata_time

This commit is contained in:
Sébastien Helleu
2022-08-01 20:13:01 +02:00
parent d2c2f9e6cd
commit 2475ba43a3
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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)
/*