From b90dcc0c5df494906b4605eaeebddb0890061c96 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 5 Apr 1998 02:59:10 +0000 Subject: [PATCH] Fix previous commit. Don't people read compiler messages or something?? --- sys/kern/kern_resource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index 004a446ca3bb..d5136e0d859d 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_resource.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_resource.c,v 1.33 1998/03/04 10:25:52 dufault Exp $ + * $Id: kern_resource.c,v 1.34 1998/04/04 13:25:18 phk Exp $ */ #include "opt_compat.h" @@ -507,7 +507,7 @@ calcru(p, up, sp, ip) sec = p->p_rtime.tv_sec; usec = p->p_rtime.tv_usec; #ifdef SMP - if (p->p_oncpu != 0xff) { + if (p->p_oncpu != (char)0xff) { #else if (p == curproc) { #endif