[PATCH] readline_simple: Fix compiler warning

Sascha Hauer sha at pengutronix.de
Wed May 12 06:04:30 PDT 2021


On Wed, May 12, 2021 at 01:25:14PM +0200, Michael Olbrich wrote:
> On Wed, May 12, 2021 at 07:44:40AM +0200, Sascha Hauer wrote:
> > char is an unsigned type.
> 
> That's incorrect. In the C standard it is explicitly undefined whether char
> is signed or unsigned. gcc implements this differently depending on the
> architecture. I think ARM and x86 differ here.

Ok. I already reworded this to "char can be an unsigned type".

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list