diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-01 22:56:40 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-01 22:57:13 +0200 |
commit | fb3ca3caaee575e6858c3ce65887bb8197c03983 (patch) | |
tree | d8ac94ad22da1bdeeca787272e36c290d5578fd1 /src/core/wee-hashtable.c | |
parent | d6d8b9094fb665f485af18ac1b8ce63944a23197 (diff) | |
download | weechat-fb3ca3caaee575e6858c3ce65887bb8197c03983.zip |
core: fix format of variables in printf-like functions (from int to long and long long)
Diffstat (limited to 'src/core/wee-hashtable.c')
-rw-r--r-- | src/core/wee-hashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hashtable.c b/src/core/wee-hashtable.c index 3c5fff844..18fb28d3e 100644 --- a/src/core/wee-hashtable.c +++ b/src/core/wee-hashtable.c @@ -1341,7 +1341,7 @@ hashtable_print_log (struct t_hashtable *hashtable, const char *name) log_printf (" value (buffer) . . : 0x%lx", ptr_item->value); break; case HASHTABLE_TIME: - log_printf (" value (time) . . . : %d", *((time_t *)ptr_item->value)); + log_printf (" value (time) . . . : %lld", (long long)(*((time_t *)ptr_item->value))); break; case HASHTABLE_NUM_TYPES: break; |