From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KETlG-0002vp-Vn for mharc-grub-devel@gnu.org; Thu, 03 Jul 2008 14:42:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KETlF-0002v1-2y for grub-devel@gnu.org; Thu, 03 Jul 2008 14:42:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KETlC-0002uS-4x for grub-devel@gnu.org; Thu, 03 Jul 2008 14:42:28 -0400 Received: from [199.232.76.173] (port=55652 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KETlC-0002uP-0I for grub-devel@gnu.org; Thu, 03 Jul 2008 14:42:26 -0400 Received: from mta-out.inet.fi ([195.156.147.13]:41822 helo=kirsi2.rokki.sonera.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KETlB-0006zW-7H for grub-devel@gnu.org; Thu, 03 Jul 2008 14:42:26 -0400 Received: from [127.0.0.1] (88.193.32.97) by kirsi2.rokki.sonera.fi (8.5.014) id 4869ED3A001BEA83 for grub-devel@gnu.org; Thu, 3 Jul 2008 21:42:16 +0300 Message-ID: <486D1D8B.6040300@nic.fi> Date: Thu, 03 Jul 2008 21:42:19 +0300 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: The development of GRUB 2 References: <1214964880.7362.17.camel@dv> <1214966028.9353.95.camel@localhost> <20080702002031.7gkuoel14wg80c0k-cebfxv@webmail.spamcop.net> <486BBEF1.6000105@nic.fi> <1215021108.29069.4.camel@dv> <87bq1e7so2.fsf@xs4all.nl> <1215109795.4585.17.camel@dv> In-Reply-To: <1215109795.4585.17.camel@dv> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Eliminating grub_size_t 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: Thu, 03 Jul 2008 18:42:29 -0000 Pavel Roskin wrote: > On Thu, 2008-07-03 at 20:02 +0200, Marco Gerards wrote: >>> I know what it is. I believe int should be as good as size_t for most >>> purposes is we are not working with very large structures or read >>> gigabytes of data from files at once. >> Perhaps, but it doesn't hurt either. I think it is a good thing to >> have a type such that it is clear what kind of variable is used. > I think I'll try to make grub_size_t 32-bit everywhere and see if it's > going to make any difference or help discover some issues. Why? I would let it be optimal type for current memory bus width.