mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
edf500a77a
commit
5d0ce6a552
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue