]> granicus.if.org Git - apache/commitdiff
remove belt-and-suspenders casting
authorJim Jagielski <jim@apache.org>
Tue, 10 Feb 2009 15:25:32 +0000 (15:25 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 10 Feb 2009 15:25:32 +0000 (15:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@742995 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_watchdog.c

index 0692c20b7b5281d4cfd11d0220383a10b9350355..e2d39366d1749490f831efc76bc8a2005fefed9c 100644 (file)
@@ -129,7 +129,7 @@ static void* APR_THREAD_FUNC wd_worker(apr_thread_t *thread, void *data)
         ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd_server_conf->s,
                      "%sWatchdog (%s) running (%" APR_PID_T_FMT ")",
                      w->singleton ? "Singleton" : "",
-                     w->name, (pid_t)getpid());
+                     w->name, getpid());
         apr_time_clock_hires(w->pool);
         if (wl) {
             apr_pool_t *ctx = NULL;
@@ -214,7 +214,7 @@ static void* APR_THREAD_FUNC wd_worker(apr_thread_t *thread, void *data)
         ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd_server_conf->s,
                      "%sWatchdog (%s) stopping (%" APR_PID_T_FMT ")",
                      w->singleton ? "Singleton" : "",
-                     w->name, (pid_t)getpid());
+                     w->name, getpid());
 
     if (locked)
         apr_proc_mutex_unlock(w->mutex);
@@ -443,7 +443,7 @@ static int wd_post_config_hook(apr_pool_t *pconf, apr_pool_t *plog,
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                 "[%" APR_PID_T_FMT " - %s] "
                 "child second stage post config hook",
-                (pid_t)getpid(), ppid);
+                getpid(), ppid);
             return OK;
         }
     }