Merge pull request #50 from catull/fix-warnings

Fix warnings
This commit is contained in:
Jeff Bezanson 2017-08-18 18:46:54 -04:00 committed by GitHub
commit 2ee81ef43e
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ LIBTARGET = lib$(NAME)
LLTDIR = llt
LLT = $(LLTDIR)/libllt.a
CONFIG = -DMACOSX -DARCH_X86_64 -DBITS64 -D__CPU__=686 -I$(CARBON_HEADERS)
CONFIG = -DBITS64 -D__CPU__=686 -I$(CARBON_HEADERS)
FLAGS = -falign-functions -Wall -Wno-strict-aliasing -I$(LLTDIR) $(CFLAGS) -DUSE_COMPUTED_GOTO $(CONFIG)
LIBFILES = $(LLT)
LIBS = $(LIBFILES) -lm -framework ApplicationServices

View File

@ -1791,7 +1791,7 @@ static value_t apply_cl(uint32_t nargs)
i = GET_INT32(ip); ip+=4;
n = GET_INT32(ip); ip+=4;
s = GET_INT32(ip); ip+=4;
nargs = process_keys(v, i, n, abs(s)-(i+n), bp, nargs, s<0);
nargs = process_keys(v, i, n, labs(s)-(i+n), bp, nargs, s<0);
NEXT_OP;
#ifndef USE_COMPUTED_GOTO

View File

@ -9,7 +9,7 @@ TARGET = libllt.a
# OS flags: LINUX, WIN32, MACOSX
# architecture flags: __CPU__=xxx, BITS64, ARCH_X86, ARCH_X86_64
CONFIG = -DMACOSX -DARCH_X86_64 -DBITS64 -D__CPU__=686
CONFIG = -DBITS64 -D__CPU__=686
FLAGS = -Wall -Wno-strict-aliasing $(CFLAGS) $(CONFIG)
LIBS =