mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-15 16:07:10 +03:00
Fix compilation warning
This commit is contained in:
@@ -437,7 +437,7 @@ int sql_hex2bytes_inplace(unsigned char *data, int len) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
*d = '\0';
|
*d = '\0';
|
||||||
return strlen(begin);
|
return strlen((char *)begin);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user