]> granicus.if.org Git - apache/commitdiff
Eliminate a warning, pid is an int.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 13 Jan 2001 05:09:02 +0000 (05:09 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 13 Jan 2001 05:09:02 +0000 (05:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87681 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index 0bddb56ed822dd41957d5f76420806ac0c650b6c..3281643b7937ffecd357f3cd642ec42f5ce55e62 100644 (file)
@@ -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