From owner-cvs-all Thu Jun 6 13:29:45 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 38EED37B403; Thu, 6 Jun 2002 13:29:40 -0700 (PDT) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g56KTej24391; Thu, 6 Jun 2002 13:29:40 -0700 (PDT) (envelope-from jmallett) Message-Id: <200206062029.g56KTej24391@freefall.freebsd.org> From: "J. Mallett" Date: Thu, 6 Jun 2002 13:29:40 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps fmt.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/06/06 13:29:40 PDT Modified files: bin/ps fmt.c Log: Cast arg_max to size_t when comparing it (times 4, plus 1) against SIZE_MAX. I was worried about truncation of arg_max by this cast, but if it gets truncated, we know it'll obviously be greater than SIZE_MAX anyway. Big pointy hat to: jmallett Submitted by: keramida Revision Changes Path 1.23 +2 -1 src/bin/ps/fmt.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message