config_compile(): add an explicit cast.
Michael
This commit is contained in:
parent
0b583194b7
commit
35abbbc26d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user