From 8c03adb4f14a8fc54ffd0e8b3f9be46bd465b244 Mon Sep 17 00:00:00 2001 From: brectanus Date: Fri, 7 Sep 2007 16:19:00 +0000 Subject: [PATCH] Add cast to unsigned char * to strtolower_inplace call. --- apache2/msc_multipart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache2/msc_multipart.c b/apache2/msc_multipart.c index 8c3633a8..b935c13e 100644 --- a/apache2/msc_multipart.c +++ b/apache2/msc_multipart.c @@ -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) {