From owner-p4-projects@FreeBSD.ORG Thu May 1 11:13:01 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6352537B404; Thu, 1 May 2003 11:13:00 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED63E37B401; Thu, 1 May 2003 11:12:59 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id A36BE43FA3; Thu, 1 May 2003 11:12:58 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id A64DC530E; Thu, 1 May 2003 20:12:56 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: John Baldwin From: Dag-Erling Smorgrav Date: Thu, 01 May 2003 20:12:55 +0200 In-Reply-To: (John Baldwin's message of "Thu, 01 May 2003 14:05:20 -0400 (EDT)") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Perforce Change Reviews Subject: Re: PERFORCE change 30311 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 18:13:01 -0000 John Baldwin writes: > On 01-May-2003 Dag-Erling Smorgrav wrote: >> Some compilers (gcc at least) promote the integer literal 0x80000000 >> to long, while enums are required to fit in an int. To avoid the >> warning this causes, use (-0x7fffffff - 1) instead of 0x80000000. > You could just use 0x40000000. :) No, I couldn't. DES -- Dag-Erling Smorgrav - des@ofug.org