diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-debug.c | 4 | ||||
-rw-r--r-- | src/core/wee-hashtable.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/wee-debug.c b/src/core/wee-debug.c index f92b1bab5..44d20e616 100644 --- a/src/core/wee-debug.c +++ b/src/core/wee-debug.c @@ -615,13 +615,13 @@ debug_display_time_elapsed (struct timeval *time1, struct timeval *time2, if (display) { gui_chat_printf (NULL, - "debug: time[%s] -> %lld:%02lld:%02lld.%06d", + "debug: time[%s] -> %lld:%02lld:%02lld.%06lld", (message) ? message : "?", diff_hour, diff_min, diff_sec, diff_usec); } else { - log_printf ("debug: time[%s] -> %lld:%02lld:%02lld.%06d", + log_printf ("debug: time[%s] -> %lld:%02lld:%02lld.%06lld", (message) ? message : "?", diff_hour, diff_min, diff_sec, diff_usec); } 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; |