mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Updates to quiet some compiler warnings.
This commit is contained in:
@@ -261,7 +261,7 @@ static int msre_op_validateDTD_execute(modsec_rec *msr, msre_rule *rule, msre_va
|
||||
return -1;
|
||||
}
|
||||
|
||||
dtd = xmlParseDTD(NULL, rule->op_param); /* EHN support relative filenames */
|
||||
dtd = xmlParseDTD(NULL, (const xmlChar *)rule->op_param); /* EHN support relative filenames */
|
||||
if (dtd == NULL) {
|
||||
*error_msg = apr_psprintf(msr->mp, "XML: Failed to load DTD: %s", rule->op_param);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user