From 384955c521a529358d7443de6689e7e9db30605d Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 4 Dec 2000 04:20:39 +0000 Subject: This chops the compile time warnings back down to one (a sufficient reminder that we need some workaround for msvc's broken const'ness.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87170 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/winnt/service.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server') diff --git a/server/mpm/winnt/service.c b/server/mpm/winnt/service.c index 4f8d190fb2..13e73c06ac 100644 --- a/server/mpm/winnt/service.c +++ b/server/mpm/winnt/service.c @@ -595,7 +595,7 @@ static void __stdcall service_nt_main_fn(DWORD argc, LPTSTR *argv) */ if (argc > 1) { - const char **cmb_data; + char **cmb_data; mpm_new_argv->nalloc = mpm_new_argv->nelts + argc - 1; cmb_data = apr_palloc(mpm_new_argv->cont, @@ -673,7 +673,7 @@ apr_status_t mpm_merge_service_args(apr_pool_t *p, { apr_array_header_t *svc_args = NULL; char conf_key[MAX_PATH]; - const char **cmb_data; + char **cmb_data; apr_status_t rv; apr_snprintf(conf_key, sizeof(conf_key), SERVICEPARAMS, service_name); @@ -1032,7 +1032,7 @@ apr_status_t mpm_service_start(apr_pool_t *ptemp, int argc, if (osver.dwPlatformId == VER_PLATFORM_WIN32_NT) { - const char **start_argv; + char **start_argv; SC_HANDLE schService; SC_HANDLE schSCManager; -- cgit v1.2.3