[U-Boot-Users] RFC: Some improvements for the FPGA subsystem

Matthias Fuchs matthias.fuchs at esd-electronics.com
Mon Nov 12 15:51:29 CET 2007


Hi Jerry,

On Monday 12 November 2007 14:24, Jerry Van Baren wrote:
> > -	char  val;
> > +	unsigned char val;
> 
> Trivia: This change should not be necessary since you fixed the 
> conditional (below) to do a bit-wise & 0x80 rather than a signed compare 
> that has portability and aesthetic problems.
yes, of course.

> >  			val = data [bytecount ++];
But since the right value is an unsigned char, I like the left value
to be of the same type.

> Painting the bike shed blue,
We should ask the others that are involved ins discussion if blue might
bring disadvantages :-)

Matthias




More information about the U-Boot mailing list