summaryrefslogtreecommitdiff
path: root/usr.bin/top/display.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-07-27 14:01:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-07-27 14:01:17 +0000
commit09f18fbfe4af968fafeee0f81109ce7f67869d92 (patch)
tree6b301eca82eb1836f3238127c0e66b22c9860d08 /usr.bin/top/display.c
parent197a7de34ac5c7461853da4d3fe098135bce30b0 (diff)
size_t vs ssize_t error; spotted by zinovik@cs.karelia.ru
Diffstat (limited to 'usr.bin/top/display.c')
-rw-r--r--usr.bin/top/display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c
index f78e68eca17..8e4c51005ba 100644
--- a/usr.bin/top/display.c
+++ b/usr.bin/top/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.27 2007/07/27 13:59:27 deraadt Exp $ */
+/* $OpenBSD: display.c,v 1.28 2007/07/27 14:01:16 deraadt Exp $ */
/*
* Top users/processes display for Unix
@@ -827,7 +827,7 @@ void
anykey(void)
{
int ch;
- size_t len;
+ ssize_t len;
standoutp();
addstrp("Hit any key to continue: ");