summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-client.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-08-12 18:36:45 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-08-12 18:36:45 +0200
commitaeeec38d6f0f90243199f2dbd96cc5261f329f0d (patch)
treeb446f1a3d51b83bcbb4a974b23e3eda5e55bbe5a /src/plugins/relay/relay-client.c
parent6e366095f9e37e94271b2148beeff551b1d8c963 (diff)
downloadweechat-aeeec38d6f0f90243199f2dbd96cc5261f329f0d.zip
core: fix cast of time_t (to "long long" instead of "long") (closes #1051)
Diffstat (limited to 'src/plugins/relay/relay-client.c')
-rw-r--r--src/plugins/relay/relay-client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c
index a334db02c..b69c9a5e3 100644
--- a/src/plugins/relay/relay-client.c
+++ b/src/plugins/relay/relay-client.c
@@ -1784,11 +1784,11 @@ relay_client_print_log ()
relay_protocol_string[ptr_client->protocol]);
weechat_log_printf (" protocol_string . . . : '%s'", ptr_client->protocol_string);
weechat_log_printf (" protocol_args . . . . : '%s'", ptr_client->protocol_args);
- weechat_log_printf (" listen_start_time . . : %ld", ptr_client->listen_start_time);
- weechat_log_printf (" start_time. . . . . . : %ld", ptr_client->start_time);
- weechat_log_printf (" end_time. . . . . . . : %ld", ptr_client->end_time);
+ weechat_log_printf (" listen_start_time . . : %lld", (long long)ptr_client->listen_start_time);
+ weechat_log_printf (" start_time. . . . . . : %lld", (long long)ptr_client->start_time);
+ weechat_log_printf (" end_time. . . . . . . : %lld", (long long)ptr_client->end_time);
weechat_log_printf (" hook_fd . . . . . . . : 0x%lx", ptr_client->hook_fd);
- weechat_log_printf (" last_activity . . . . : %ld", ptr_client->last_activity);
+ weechat_log_printf (" last_activity . . . . : %lld", (long long)ptr_client->last_activity);
weechat_log_printf (" bytes_recv. . . . . . : %llu", ptr_client->bytes_recv);
weechat_log_printf (" bytes_sent. . . . . . : %llu", ptr_client->bytes_sent);
weechat_log_printf (" recv_data_type. . . . : %d (%s)",