diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-06-17 11:52:56 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-06-17 11:52:56 -0400 |
commit | e66c26b216b4b6b4c156149edcdd8629eedc2974 (patch) | |
tree | a3633f2881fd06b9aeb9243d5115360039de613f /src/c | |
parent | 8a0782976c0c8da839876166013b84756dae493a (diff) |
Fixes to work nicely with OS X and Clang (thanks to Austin Seipp)
Diffstat (limited to 'src/c')
-rw-r--r-- | src/c/Makefile.am | 2 | ||||
-rw-r--r-- | src/c/Makefile.in | 2 | ||||
-rw-r--r-- | src/c/urweb.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/c/Makefile.am b/src/c/Makefile.am index 613c2452..04fe6bf0 100644 --- a/src/c/Makefile.am +++ b/src/c/Makefile.am @@ -6,4 +6,4 @@ liburweb_cgi_la_SOURCES = cgi.c liburweb_fastcgi_la_SOURCES = fastcgi.c AM_CPPFLAGS = -I../../include @OPENSSL_INCLUDES@ -AM_CFLAGS = -Wimplicit -Wall -Werror +AM_CFLAGS = -Wimplicit -Wall -Werror -Wno-format-security diff --git a/src/c/Makefile.in b/src/c/Makefile.in index b13b94f9..ad8c1115 100644 --- a/src/c/Makefile.in +++ b/src/c/Makefile.in @@ -237,7 +237,7 @@ liburweb_http_la_SOURCES = http.c liburweb_cgi_la_SOURCES = cgi.c liburweb_fastcgi_la_SOURCES = fastcgi.c AM_CPPFLAGS = -I../../include @OPENSSL_INCLUDES@ -AM_CFLAGS = -Wimplicit -Wall -Werror +AM_CFLAGS = -Wimplicit -Wall -Werror -Wno-format-security all: all-am .SUFFIXES: diff --git a/src/c/urweb.c b/src/c/urweb.c index 3213d044..b653390a 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -829,7 +829,7 @@ static input *check_input_space(uw_context ctx, size_t len) { r = &ctx->subinputs[ctx->used_subinputs]; for (i = 0; i < len; ++i) - ctx->subinputs[ctx->used_subinputs++].kind = UNUSED; + ctx->subinputs[ctx->used_subinputs++].kind = UNSET; return r; } |