config_compile(): add an explicit cast.
Michael
This commit is contained in:
1 parent
0b583194b7
commit
35abbbc26d
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user