mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Add a cast to unsigned char * to avoid warning.
This commit is contained in:
parent
b95cc3b372
commit
8549546b5e
@ -599,7 +599,7 @@ static int multipart_count_boundary_params(apr_pool_t *mp, const char *header_va
|
||||
if (duplicate == NULL) return -1;
|
||||
|
||||
/* Performing a case-insensitive search. */
|
||||
strtolower_inplace(duplicate);
|
||||
strtolower_inplace((unsigned char *)duplicate);
|
||||
|
||||
s = duplicate;
|
||||
while((s = strstr(s, "boundary")) != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user