From owner-svn-src-all@FreeBSD.ORG Fri Dec 16 15:38:12 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 357F8106564A; Fri, 16 Dec 2011 15:38:12 +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 243A78FC16; Fri, 16 Dec 2011 15:38:12 +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 pBGFcBqY013852; Fri, 16 Dec 2011 15:38:11 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBGFcBCQ013850; Fri, 16 Dec 2011 15:38:11 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112161538.pBGFcBCQ013850@svn.freebsd.org> From: Dimitry Andric Date: Fri, 16 Dec 2011 15:38:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228581 - head/libexec/bootpd/bootpgw X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 15:38:12 -0000 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);