Updates to quiet some compiler warnings.

This commit is contained in:
brectanus
2007-03-01 11:49:56 +00:00
parent 79d232ccff
commit f4fb4ed4f6
6 changed files with 11 additions and 9 deletions

View File

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