From: William A. Rowe Jr Date: Sat, 13 Jan 2001 05:09:02 +0000 (+0000) Subject: Eliminate a warning, pid is an int. X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~203 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43d0cfdb5e65c0db01b47a0c41c8e8877f5d2175;p=apache Eliminate a warning, pid is an int. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87681 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 0bddb56ed8..3281643b79 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -1827,7 +1827,7 @@ void winnt_rewrite_args(process_rec *process) char optbuf[3]; const char *optarg; int fixed_args; - char *pid; + int pid; apr_getopt_t *opt; int running_as_service = 1; @@ -1839,7 +1839,6 @@ void winnt_rewrite_args(process_rec *process) if (pid) { /* This is the child */ - parent_pid = (DWORD) atol(pid); my_pid = GetCurrentProcessId(); /* The parent is responsible for providing the