Merge branch 'gaul-warnings'
This commit is contained in:
commit
e0df856784
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ BINFLAG = -o
|
|||
INCLUDES =
|
||||
LIBS = -lm
|
||||
LIBPATH =
|
||||
CFLAGS += $(COPT) -g $(INCLUDES) #-Wall
|
||||
CFLAGS += $(COPT) -g $(INCLUDES) -Wall -Wextra -Wno-unused-function
|
||||
LDFLAGS += $(LIBPATH) -g $(LIBS) #-Wall
|
||||
|
||||
OBJS := $(patsubst %.$(C),%.$(OBJ),$(wildcard $(SOURCE_PATH)*.$(C)))
|
||||
|
|
|
@ -389,7 +389,7 @@ static unsigned long hash(const char *str)
|
|||
unsigned long hash = 5381;
|
||||
int c;
|
||||
|
||||
while (c = *str++) {
|
||||
while ((c = *str++)) {
|
||||
hash = ((hash << 5) + hash) + c;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue