Browse Source

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>
Callum Farmer 2 years ago
parent
commit
e398748032
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Make.defaults

+ 2 - 2
Make.defaults

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