diff options
author | ed <ed@FreeBSD.org> | 2009-02-26 10:38:19 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-02-26 10:38:19 +0000 |
commit | 226255f0b621bcdafe52740c904b4ff8eb60756d (patch) | |
tree | bf0a3120e10271dafdc151344b7d398664d1c727 /sys/kern/tty_info.c | |
parent | 516ad9be6dae58998c7eabae7a25de093e47fd95 (diff) | |
download | FreeBSD-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/kern/tty_info.c')
-rw-r--r-- | sys/kern/tty_info.c | 2 |
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; |