summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-02-26 10:38:19 +0000
committered <ed@FreeBSD.org>2009-02-26 10:38:19 +0000
commit226255f0b621bcdafe52740c904b4ff8eb60756d (patch)
treebf0a3120e10271dafdc151344b7d398664d1c727 /sys
parent516ad9be6dae58998c7eabae7a25de093e47fd95 (diff)
downloadFreeBSD-src-226255f0b621bcdafe52740c904b4ff8eb60756d.zip
FreeBSD-src-226255f0b621bcdafe52740c904b4ff8eb60756d.tar.gz
Silence compiler warning inside our ^T handler.
It turns out we're casting fixpt_t* to int*. Spotted by: clang
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/tty_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty_info.c b/sys/kern/tty_info.c
index cbd7402..b9d9c1a 100644
--- a/sys/kern/tty_info.c
+++ b/sys/kern/tty_info.c
@@ -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;
OpenPOWER on IntegriCloud