diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-08-12 18:36:45 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-08-12 18:36:45 +0200 |
commit | aeeec38d6f0f90243199f2dbd96cc5261f329f0d (patch) | |
tree | b446f1a3d51b83bcbb4a974b23e3eda5e55bbe5a /src/plugins/irc/irc-redirect.c | |
parent | 6e366095f9e37e94271b2148beeff551b1d8c963 (diff) | |
download | weechat-aeeec38d6f0f90243199f2dbd96cc5261f329f0d.zip |
core: fix cast of time_t (to "long long" instead of "long") (closes #1051)
Diffstat (limited to 'src/plugins/irc/irc-redirect.c')
-rw-r--r-- | src/plugins/irc/irc-redirect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-redirect.c b/src/plugins/irc/irc-redirect.c index 44648a00d..744b29e0d 100644 --- a/src/plugins/irc/irc-redirect.c +++ b/src/plugins/irc/irc-redirect.c @@ -1209,7 +1209,7 @@ irc_redirect_print_log (struct t_irc_server *server) weechat_log_printf (" timeout . . . . . . : %d", ptr_redirect->timeout); weechat_log_printf (" command . . . . . . : '%s'", ptr_redirect->command); weechat_log_printf (" assigned_to_command : %d", ptr_redirect->assigned_to_command); - weechat_log_printf (" start_time. . . . . : %ld", ptr_redirect->start_time); + weechat_log_printf (" start_time. . . . . : %lld", (long long)ptr_redirect->start_time); weechat_log_printf (" cmd_start . . . . . : 0x%lx (hashtable: '%s')", ptr_redirect->cmd_start, weechat_hashtable_get_string (ptr_redirect->cmd_start, "keys_values")); |