1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 00:33:13 +02:00

core, api: remove unneeded cast to time_t

The field `tv_sec` of struct timeval is already time_t, the cast is not needed.
This commit is contained in:
Sébastien Helleu
2026-06-20 21:49:18 +02:00
parent c4dfb16df0
commit f4564a1cb0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1042,7 +1042,7 @@ plugin_api_info_uptime_current_cb (const void *pointer, void *data,
(void) info_name;
return plugin_api_info_build_uptime (
(time_t)weechat_current_start_timeval.tv_sec,
weechat_current_start_timeval.tv_sec,
arguments);
}