ISO-Latin-1 requires unsigned char

It has characters from 0 to 256 so this requires
an unsigned 8 bit value

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
Callum Farmer 2023-04-08 19:16:26 +01:00
parent 4f8b339fac
commit e398748032

View File

@ -174,11 +174,11 @@ endif
ifeq (FreeBSD, $(findstring FreeBSD, $(OS))) ifeq (FreeBSD, $(findstring FreeBSD, $(OS)))
CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
-fshort-wchar -fno-strict-aliasing \ -funsigned-char -fshort-wchar -fno-strict-aliasing \
-ffreestanding -fno-stack-protector -ffreestanding -fno-stack-protector
else else
CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror \ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror \
-fshort-wchar -fno-strict-aliasing \ -funsigned-char -fshort-wchar -fno-strict-aliasing \
-ffreestanding -fno-stack-protector -fno-stack-check \ -ffreestanding -fno-stack-protector -fno-stack-check \
-fno-stack-check \ -fno-stack-check \
$(if $(findstring gcc,$(CC)),-fno-merge-all-constants,) $(if $(findstring gcc,$(CC)),-fno-merge-all-constants,)