Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 10:38:19 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189062 - head/sys/kern
Message-ID:  <200902261038.n1QAcJYv024951@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902261038.n1QAcJYv024951>