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/exec/exec.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/exec/exec.c')
-rw-r--r-- | src/plugins/exec/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/exec/exec.c b/src/plugins/exec/exec.c index aae525011..e01da0bbe 100644 --- a/src/plugins/exec/exec.c +++ b/src/plugins/exec/exec.c @@ -691,8 +691,8 @@ exec_print_log () weechat_log_printf (" command . . . . . . . . . : '%s'", ptr_exec_cmd->command); weechat_log_printf (" pid . . . . . . . . . . . : %d", ptr_exec_cmd->pid); weechat_log_printf (" detached. . . . . . . . . : %d", ptr_exec_cmd->detached); - weechat_log_printf (" start_time. . . . . . . . : %ld", ptr_exec_cmd->start_time); - weechat_log_printf (" end_time. . . . . . . . . : %ld", ptr_exec_cmd->end_time); + weechat_log_printf (" start_time. . . . . . . . : %lld", (long long)ptr_exec_cmd->start_time); + weechat_log_printf (" end_time. . . . . . . . . : %lld", (long long)ptr_exec_cmd->end_time); weechat_log_printf (" output_to_buffer. . . . . : %d", ptr_exec_cmd->output_to_buffer); weechat_log_printf (" output_to_buffer_exec_cmd : %d", ptr_exec_cmd->output_to_buffer_exec_cmd); weechat_log_printf (" buffer_full_name. . . . . : '%s'", ptr_exec_cmd->buffer_full_name); |