Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D6bIf-00016k-9x for mharc-grub-devel@gnu.org; Wed, 02 Mar 2005 16:22:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6bFE-0008SW-SL for grub-devel@gnu.org; Wed, 02 Mar 2005 16:19:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6bF0-0008JV-V3 for grub-devel@gnu.org; Wed, 02 Mar 2005 16:18:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6bEw-0008G3-Hs for grub-devel@gnu.org; Wed, 02 Mar 2005 16:18:42 -0500 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D6awf-0006nY-E7 for grub-devel@gnu.org; Wed, 02 Mar 2005 15:59:49 -0500 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 2C273FF0B4CF for ; Wed, 2 Mar 2005 21:59:45 +0100 (CET) Received: from 127.0.0.1 ([127.0.0.1] helo=localhost) by ASSP-nospam ; 2 Mar 05 20:59:45 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Wed, 2 Mar 2005 22:01:23 +0100 User-Agent: KMail/1.7.1 References: <42130AAA.7030500@omniflux.com> In-Reply-To: <42130AAA.7030500@omniflux.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503022201.24046.okuji@enbug.org> Subject: Re: fs/fat.c assumes that 0UL is the same for 32bit and 64bit archs X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 21:22:32 -0000 On Wednesday 16 February 2005 09:56, Omniflux wrote: > fs/fat.c assumes that 0UL is the same for 32bit and 64bit archs, but > it is not. > > There are four locations in fs/fat.c where a 32bit unsigned int is > set equal to 0UL. This causes warnings when compiling on 64bit > architectures as 0UL is 0xffffffffffffffff (64bits) there. Marco, did you look at this patch? Okuji