From 35abbbc26d29982d63170ac27159a60f490584ff Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 4 Aug 2009 15:29:12 +0200 Subject: config_compile(): add an explicit cast. Michael --- src/conffile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3