summaryrefslogtreecommitdiff
path: root/src/conffile.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/conffile.c2
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;