On Sat, 2009-04-11 at 01:08 -0700, David Miller wrote:
> The grub printf code tries to treat 'long' and 'int' the same,
> that doesn't work on (most) 64-bit platforms.

> +      n = (unsigned) (-((long) n));

"unsigned" means "unsigned int".  You need "unsigned long" here.

It's probably irrelevant if we kill grub_ltoa(), but anyway, let's be
careful.

-- 
Regards,
Pavel Roskin


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

Reply via email to