From 4001ed956faf1adaaa064843f4778c7203c0af52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 10 Apr 2018 19:34:43 +0200 Subject: [PATCH] php: return long instead of int in function hdata_time --- src/plugins/php/weechat-php-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/php/weechat-php-api.c b/src/plugins/php/weechat-php-api.c index e35724322..1bb039556 100644 --- a/src/plugins/php/weechat-php-api.c +++ b/src/plugins/php/weechat-php-api.c @@ -4786,7 +4786,7 @@ API_FUNC(hdata_time) name = ZSTR_VAL(z_name); result = weechat_hdata_time (hdata, pointer, (const char *)name); - API_RETURN_INT(result); + API_RETURN_LONG(result); } API_FUNC(hdata_hashtable)