Cast to int

This commit is contained in:
Roy Marples 2009-04-24 08:32:44 +00:00
parent e7b35a8f15
commit 5276b13926

View File

@ -520,8 +520,8 @@ svc_wait(const char *svc)
return false;
timespecsub(&warn, &interval, &warn);
if (warn.tv_sec <= 0) {
ewarn("%s: waiting for %s (%zu seconds)",
applet, svc, timeout.tv_sec);
ewarn("%s: waiting for %s (%d seconds)",
applet, svc, (int)timeout.tv_sec);
warn.tv_sec = WARN_TIMEOUT;
warn.tv_nsec = 0;
}