Author: dim
Date: Fri Dec 16 15:38:11 2011
New Revision: 228581
URL: http://svn.freebsd.org/changeset/base/228581
Log:
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
Modified:
head/libexec/bootpd/bootpgw/bootpgw.c
Modified: head/libexec/bootpd/bootpgw/bootpgw.c
==============================================================================
--- head/libexec/bootpd/bootpgw/bootpgw.c Fri Dec 16 15:12:42 2011
(r228580)
+++ head/libexec/bootpd/bootpgw/bootpgw.c Fri Dec 16 15:38:11 2011
(r228581)
@@ -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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"