From 13672e0cc8cf8b905c9493077e671eb4eccd6779 Mon Sep 17 00:00:00 2001 From: niklas Date: Tue, 17 Dec 1996 23:50:51 +0000 Subject: [PATCH] missing unsigned caused bad sign-extension --- sbin/ipfstat/kmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/ipfstat/kmem.c b/sbin/ipfstat/kmem.c index 28196181bd6..d11cee49aa6 100644 --- a/sbin/ipfstat/kmem.c +++ b/sbin/ipfstat/kmem.c @@ -21,7 +21,7 @@ #ifndef lint static char sccsid[] = "@(#)kmem.c 1.4 1/12/96 (C) 1992 Darren Reed"; -static char rcsid[] = "$Id: kmem.c,v 1.4 1996/07/18 05:08:10 dm Exp $"; +static char rcsid[] = "$Id: kmem.c,v 1.5 1996/12/17 23:50:51 niklas Exp $"; #endif static int kmemfd = -1; @@ -38,7 +38,7 @@ int openkmem() int kmemcpy(buf, pos, n) register char *buf; -long pos; +u_long pos; register int n; { register int r; -- 2.20.1