Cast to int
This commit is contained in:
parent
e7b35a8f15
commit
5276b13926
@ -520,8 +520,8 @@ svc_wait(const char *svc)
|
|||||||
return false;
|
return false;
|
||||||
timespecsub(&warn, &interval, &warn);
|
timespecsub(&warn, &interval, &warn);
|
||||||
if (warn.tv_sec <= 0) {
|
if (warn.tv_sec <= 0) {
|
||||||
ewarn("%s: waiting for %s (%zu seconds)",
|
ewarn("%s: waiting for %s (%d seconds)",
|
||||||
applet, svc, timeout.tv_sec);
|
applet, svc, (int)timeout.tv_sec);
|
||||||
warn.tv_sec = WARN_TIMEOUT;
|
warn.tv_sec = WARN_TIMEOUT;
|
||||||
warn.tv_nsec = 0;
|
warn.tv_nsec = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user