In libexec/bootpd/bootpgw/bootpgw.c, add a cast for the remaining

minutes of activity, to avoid a warning on platforms where time_t is a
32-bit integer.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-16 15:38:11 +00:00
parent edf500a77a
commit 5d0ce6a552
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228581

View File

@ -452,7 +452,7 @@ main(argc, argv)
}
if (!(readfds & (1 << s))) {
report(LOG_INFO, "exiting after %ld minutes of inactivity",
actualtimeout.tv_sec / 60);
(long)(actualtimeout.tv_sec / 60));
exit(0);
}
ra_len = sizeof(recv_addr);