Author: dim
Date: Sat Dec 31 19:19:19 2011
New Revision: 229136
URL: http://svn.freebsd.org/changeset/base/229136

Log:
  MFC r228581:
  
  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.

Modified:
  stable/9/libexec/bootpd/bootpgw/bootpgw.c
Directory Properties:
  stable/9/libexec/bootpd/   (props changed)

Modified: stable/9/libexec/bootpd/bootpgw/bootpgw.c
==============================================================================
--- stable/9/libexec/bootpd/bootpgw/bootpgw.c   Sat Dec 31 19:01:48 2011        
(r229135)
+++ stable/9/libexec/bootpd/bootpgw/bootpgw.c   Sat Dec 31 19:19:19 2011        
(r229136)
@@ -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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to