From d8bab7c3937644509e6759b38a5e2ee9bfaf273e Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 7 Dec 2008 15:48:48 -0600 Subject: [PATCH] Cleanup: fix long/int format string errors. Two format strings used long values with int format specifiers. Fix the format specifiers so that the entire value can be printed. --- lib/silcutil/silcschedule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/silcutil/silcschedule.c b/lib/silcutil/silcschedule.c index 31168d30..8d9738de 100644 --- a/lib/silcutil/silcschedule.c +++ b/lib/silcutil/silcschedule.c @@ -186,7 +186,7 @@ static void silc_schedule_select_timeout(SilcSchedule schedule) if (task) { schedule->timeout = curtime; schedule->has_timeout = TRUE; - SILC_LOG_DEBUG(("timeout: sec=%d, usec=%d", schedule->timeout.tv_sec, + SILC_LOG_DEBUG(("timeout: sec=%ld, usec=%ld", schedule->timeout.tv_sec, schedule->timeout.tv_usec)); } } @@ -600,7 +600,7 @@ SilcTask silc_schedule_task_add(SilcSchedule schedule, SilcUInt32 fd, } } - SILC_LOG_DEBUG(("New timeout task %p: sec=%d, usec=%d", ttask, + SILC_LOG_DEBUG(("New timeout task %p: sec=%ld, usec=%ld", ttask, seconds, useconds)); /* Add task to correct spot so that the first task in the list has -- 2.24.0