summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-08-09 16:50:59 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-08-09 16:50:59 +0200
commite894a26cf538f8341b93acf6ececc3df88125bc7 (patch)
treed49182ca13cbfd7dced4918586a8c5073b6f0035
parent876884e8f974bdfa015adf49a255bee45cc3c893 (diff)
downloadhittpd-e894a26cf538f8341b93acf6ececc3df88125bc7.tar.gz
hittpd-e894a26cf538f8341b93acf6ececc3df88125bc7.tar.xz
hittpd-e894a26cf538f8341b93acf6ececc3df88125bc7.zip
Makefile: make incompatible pointer types fatal
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4203428..2253be0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 ALL=hittpd
 OBJ=hittpd.o http-parser/http_parser.o
 
-CFLAGS=-g -O2 -Wall -Wno-switch -Wextra -Wwrite-strings
+CFLAGS=-g -O2 -Wall -Wno-switch -Wextra -Wwrite-strings -Werror=incompatible-pointer-types
 CPPFLAGS=-Ihttp-parser
 
 DESTDIR=