1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 02:33:12 +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
@@ -7401,7 +7401,7 @@ command_upgrade_display (struct t_gui_buffer *buffer,
str_first_start[0] = '\0';
str_last_start[0] = '\0';
weechat_last_start_time = (time_t)weechat_current_start_timeval.tv_sec;
weechat_last_start_time = weechat_current_start_timeval.tv_sec;
if (translated_string)
{