diff options
author | dim <dim@FreeBSD.org> | 2011-12-16 15:38:11 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-12-16 15:38:11 +0000 |
commit | f8760fc5b21c4099e979782718895766eace5f2c (patch) | |
tree | 86a120ed9ca63d0550f1d3995f569866a93d5302 /libexec/bootpd | |
parent | d3f016462804c2367ae9ab0d430cfdc16180ca5f (diff) | |
download | FreeBSD-src-f8760fc5b21c4099e979782718895766eace5f2c.zip FreeBSD-src-f8760fc5b21c4099e979782718895766eace5f2c.tar.gz |
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
Diffstat (limited to 'libexec/bootpd')
-rw-r--r-- | libexec/bootpd/bootpgw/bootpgw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/bootpd/bootpgw/bootpgw.c b/libexec/bootpd/bootpgw/bootpgw.c index f180fd6..120d668 100644 --- a/libexec/bootpd/bootpgw/bootpgw.c +++ b/libexec/bootpd/bootpgw/bootpgw.c @@ -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); |