make respects system compiler setting

This commit is contained in:
Alessandro Mauri 2020-10-04 23:13:11 +02:00
parent d3f5e888e3
commit 04bfca1932
2 changed files with 2 additions and 2 deletions

2
hkd.c
View File

@ -753,7 +753,7 @@ void parse_config_file (void)
bb++; bb++;
// get state // get state
switch (*bb) { switch (*bb) {
case EOF: case (int)EOF:
case '\0': case '\0':
// If it is the end of the last block exit // If it is the end of the last block exit
if (exit_state > 1) if (exit_state > 1)

View File

@ -1,4 +1,4 @@
CC = gcc CC ?= gcc
CFLAGS = -Wall -Werror -pedantic --std=c99 -O2 CFLAGS = -Wall -Werror -pedantic --std=c99 -O2
VERSION = 0.3 VERSION = 0.3
PREFIX = /usr/local PREFIX = /usr/local