On Solaris, at least on sparc32, chars are unsigned. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- target-sparc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-sparc.c b/target-sparc.c index bd48effe3acf..865dbc8a2180 100644 --- a/target-sparc.c +++ b/target-sparc.c @@ -19,6 +19,8 @@ static void init_sparc32(const struct target *target) bits_in_longdouble = 128; max_fp_alignment = 16; + + funsigned_char = 0; } } -- 2.27.0