From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 30 Aug 2001 12:54:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 30 Aug 2001 12:53:54 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:53771 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Thu, 30 Aug 2001 12:53:44 -0400 Date: Thu, 30 Aug 2001 09:50:53 -0700 (PDT) From: Linus Torvalds To: Christopher Friesen cc: Roman Zippel , Daniel Phillips , David Lang , linux-kernel Subject: Re: [IDEA+RFC] Possible solution for min()/max() war In-Reply-To: <3B8E6CA3.6F5F6735@nortelnetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Aug 2001, Christopher Friesen wrote: > > Wouldn't it have made more sense to make the 'len' parameter an unsigned int? Oh yes. And wouldn't it be nicer if the sky was pink, and God came personally down to earth and stopped all wrans and made you king? You do realize that many things are signed, whether you want them to be or not? Like "off_t", which on the face of it sounds like it should be unsigned ("offset within a file - oh, that can obviously never be negative"). Linus