summaryrefslogtreecommitdiff
path: root/usr.bin/top/machine.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-08-24 18:37:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-08-24 18:37:48 +0000
commit3d4737f4bf505dac666f5e89d5f0826d0a17a002 (patch)
tree6f36f261f6ece91268bb8360a802772e6a10abf9 /usr.bin/top/machine.c
parentf4097d02a58343cb41070cc22d4086ea9f934ee2 (diff)
Fix compiler warnings.
Diffstat (limited to 'usr.bin/top/machine.c')
-rw-r--r--usr.bin/top/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 59e930f3e6e..74c1597005e 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machine.c,v 1.4 1997/08/22 07:39:27 downsj Exp $ */
+/* $OpenBSD: machine.c,v 1.5 1997/08/24 18:37:46 millert Exp $ */
/*
* top - a top users display for Unix
@@ -482,7 +482,7 @@ char *(*get_userid)();
p_wait = EP(pp, e_wmesg);
else {
snprintf(waddr, sizeof(waddr), "%lx",
- (unsigned int)(PP(pp, p_wchan)) & ~KERNBASE);
+ (unsigned long)(PP(pp, p_wchan)) & ~KERNBASE);
p_wait = waddr;
}
else