From: niklas Date: Tue, 17 Dec 1996 23:50:51 +0000 (+0000) Subject: missing unsigned caused bad sign-extension X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=13672e0cc8cf8b905c9493077e671eb4eccd6779;p=openbsd missing unsigned caused bad sign-extension --- 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;