Fix compilation warning

This commit is contained in:
brenosilva
2012-02-23 13:07:28 +00:00
parent 17c7392b5d
commit 86ea715e27
2 changed files with 2 additions and 2 deletions

View File

@@ -437,7 +437,7 @@ int sql_hex2bytes_inplace(unsigned char *data, int len) {
} }
*d = '\0'; *d = '\0';
return strlen(begin); return strlen((char *)begin);
} }
/** /**

View File

@@ -1855,7 +1855,7 @@ static apr_status_t msre_action_initcol_execute(modsec_rec *msr, apr_pool_t *mpt
/* IMP1 We have a function for this now, parse_name_eq_value? */ /* IMP1 We have a function for this now, parse_name_eq_value? */
s = strstr(data, "="); s = strstr(data, "=");
if (s == NULL) return 0; if (s == NULL) return 0;
col_name = strtolower_inplace(data); col_name = strtolower_inplace((unsigned char *)data);
col_key = s + 1; col_key = s + 1;
*s = '\0'; *s = '\0';