diff options
author | steve <steve@FreeBSD.org> | 1996-12-14 06:08:03 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1996-12-14 06:08:03 +0000 |
commit | c5d0f9cb3928db35413db774a96dc2a8eb85b141 (patch) | |
tree | 2f12bbee87f3b5e7477f863c11ba6545497513ad /bin/ps/print.c | |
parent | 0aef04187c65f5b7c84d848d3becef7ee602a9d9 (diff) | |
download | FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.zip FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.tar.gz |
-Wall cleaning.
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r-- | bin/ps/print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c index 0d5a09f..5b7b40f 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -30,11 +30,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: print.c,v 1.15 1996/06/29 10:25:31 peter Exp $ + * $Id: print.c,v 1.16 1996/10/21 07:30:24 peter Exp $ */ #ifndef lint -static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94"; +static char const sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94"; #endif /* not lint */ #include <sys/param.h> @@ -475,7 +475,7 @@ p_rssize(k, ve) /* doesn't account for text */ #ifndef NEWVM (void)printf("%*d", v->width, pgtok(KI_PROC(k)->p_rssize)); #else - (void)printf("%*ld", v->width, pgtok(KI_EPROC(k)->e_vm.vm_rssize)); + (void)printf("%*ld", v->width, (long)pgtok(KI_EPROC(k)->e_vm.vm_rssize)); #endif } @@ -637,7 +637,7 @@ tsize(k, ve) #ifndef NEWVM (void)printf("%*d", v->width, pgtok(KI_EPROC(k)->e_xsize)); #else - (void)printf("%*ld", v->width, pgtok(KI_EPROC(k)->e_vm.vm_tsize)); + (void)printf("%*ld", v->width, (long)pgtok(KI_EPROC(k)->e_vm.vm_tsize)); #endif } |