Pavel Roskin wrote:
On Thu, 2008-07-03 at 21:42 +0300, Vesa Jääskeläinen wrote:

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.

int is supposed to be the optimal type, and int is 32-bit on 64-bit
platforms we support.  As far as I know, the x86_64 machine code
actually defaults to 32-bit for all arguments except memory addresses.

And size_t is kinda connected to memory addresses. Do you agree :) ?


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to