diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 15:29:12 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:28 +0200 |
commit | 35abbbc26d29982d63170ac27159a60f490584ff (patch) | |
tree | e5fabe8ab9bfa21d6bfc530b77d34b65f338b773 | |
parent | 0b583194b7dae3942f0f995a791cfcb002ac00ed (diff) | |
download | tinyproxy-35abbbc26d29982d63170ac27159a60f490584ff.tar.gz tinyproxy-35abbbc26d29982d63170ac27159a60f490584ff.zip |
config_compile(): add an explicit cast.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/conffile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conffile.c b/src/conffile.c index 718991b..dca63e2 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -248,7 +248,7 @@ config_compile (void) assert (directives[i].handler); assert (!directives[i].cre); - directives[i].cre = safemalloc (sizeof (regex_t)); + directives[i].cre = (regex_t *)safemalloc (sizeof (regex_t)); if (!directives[i].cre) return -1; |