mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
core: fix format of variables in printf-like functions (from int to long and long long)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user