config_compile(): add an explicit cast.

Michael
This commit is contained in:
Michael Adam 2009-08-04 15:29:12 +02:00
parent 0b583194b7
commit 35abbbc26d

View File

@ -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;