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; _______________________________________________ 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"