From owner-svn-src-stable-9@FreeBSD.ORG Sat Dec 31 19:19:19 2011 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9448106566B; Sat, 31 Dec 2011 19:19:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C36678FC1F; Sat, 31 Dec 2011 19:19:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBVJJJX9078770; Sat, 31 Dec 2011 19:19:19 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBVJJJ4E078768; Sat, 31 Dec 2011 19:19:19 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112311919.pBVJJJ4E078768@svn.freebsd.org> From: Dimitry Andric Date: Sat, 31 Dec 2011 19:19:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r229136 - stable/9/libexec/bootpd/bootpgw X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 19:19:20 -0000 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);