From owner-svn-src-head@FreeBSD.ORG Thu Feb 26 10:38:19 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D92DE106566C; Thu, 26 Feb 2009 10:38:19 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C8C918FC13; Thu, 26 Feb 2009 10:38:19 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1QAcJkQ024952; Thu, 26 Feb 2009 10:38:19 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1QAcJYv024951; Thu, 26 Feb 2009 10:38:19 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200902261038.n1QAcJYv024951@svn.freebsd.org> From: Ed Schouten Date: Thu, 26 Feb 2009 10:38:19 +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: r189062 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 10:38:20 -0000 Author: ed Date: Thu Feb 26 10:38:19 2009 New Revision: 189062 URL: http://svn.freebsd.org/changeset/base/189062 Log: Silence compiler warning inside our ^T handler. It turns out we're casting fixpt_t* to int*. Spotted by: clang Modified: head/sys/kern/tty_info.c Modified: head/sys/kern/tty_info.c ============================================================================== --- head/sys/kern/tty_info.c Thu Feb 26 10:28:32 2009 (r189061) +++ head/sys/kern/tty_info.c Thu Feb 26 10:38:19 2009 (r189062) @@ -76,7 +76,7 @@ __FBSDID("$FreeBSD$"); #define BOTH 3 static int -proc_sum(struct proc *p, int *estcpup) +proc_sum(struct proc *p, fixpt_t *estcpup) { struct thread *td; int estcpu;