Two format strings used long values with int format specifiers.
Fix the format specifiers so that the entire value can be printed.
if (task) {
schedule->timeout = curtime;
schedule->has_timeout = TRUE;
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));
}
}
schedule->timeout.tv_usec));
}
}
- 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
seconds, useconds));
/* Add task to correct spot so that the first task in the list has