summaryrefslogtreecommitdiff
path: root/bin/ps/fmt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-25 15:41:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-25 15:41:08 +0000
commit462a5b31673474830f69aabd0be0329cb05b4c0a (patch)
treed96e41dfb2c649d07bd08eeca30ae98cce83b1b8 /bin/ps/fmt.c
parent88a093d815fbf2e2a4bdbb7dd0875a9017f5397b (diff)
various small lint cleanups; ok otto
Diffstat (limited to 'bin/ps/fmt.c')
-rw-r--r--bin/ps/fmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c
index 8e193746535..19407b4cc91 100644
--- a/bin/ps/fmt.c
+++ b/bin/ps/fmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fmt.c,v 1.7 2004/01/08 18:18:35 millert Exp $ */
+/* $OpenBSD: fmt.c,v 1.8 2006/04/25 15:41:07 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -57,7 +57,7 @@ fmt_puts(const char *s, int *leftp)
return;
len = strlen(s) * 4 + 1;
if (len > maxlen) {
- int newmaxlen = maxlen;
+ size_t newmaxlen = maxlen;
if (newmaxlen == 0)
newmaxlen = getpagesize();