On Thu, Mar 01, 2012 at 02:15:17PM -0500, Lennart Sorensen wrote: > Would using this instead work: > > for (i = k - 1; i >= 0 && (unsigned) i > line_start - 1; > > After all if i already had to be >=0 then casting it to unsigned has no > harm, whereas casting line_start to signed could potentially generate > a very negative number if line_start was very big. > > The compiler approves.
After changing that, the current bzr tree (revno: 4083) builds with no errors on powerpc using gcc (Debian 4.4.5-8) 4.4.5 from Debian Squeeze. -- Len Sorensen _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel