From owner-cvs-all Sun Feb 3 9:12:29 2002 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 8AA3537B404; Sun, 3 Feb 2002 09:12:24 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA30327; Mon, 4 Feb 2002 04:11:17 +1100 Date: Mon, 4 Feb 2002 04:12:48 +1100 (EST) From: Bruce Evans X-X-Sender: To: Mark Murray Cc: Mark Murray , , Subject: Re: cvs commit: src/sys/sys socket.h types.h In-Reply-To: <200202031608.g13G83E47024@greenpeace.grondar.org> Message-ID: <20020204035957.Q20055-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 3 Feb 2002, Mark Murray wrote: > Ok, So what needs to be done? Back out the change to howmany(). The caller can always pass it types with the same signedness (after promotion) or cast the value. This is a bit like the caller having to do this for min(9undoc): min(1U, -1) gives a very wrong value. min(1U, 1) gives the correct value but may only escape being warned about because the args get silently converted to u_int. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message