summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2009-02-10 16:25:32 +0100
committerJim Jagielski <jim@apache.org>2009-02-10 16:25:32 +0100
commitc9de995739235d27dfadaecedb633a6f84485bc6 (patch)
tree9bef4c370d5f835134ec41082cdae4caa766fd7d
parentAdd getter/setter functions to the slotmem API. Also, (diff)
downloadapache2-c9de995739235d27dfadaecedb633a6f84485bc6.tar.xz
apache2-c9de995739235d27dfadaecedb633a6f84485bc6.zip
remove belt-and-suspenders casting
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@742995 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/mappers/mod_watchdog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mappers/mod_watchdog.c b/modules/mappers/mod_watchdog.c
index 0692c20b7b..e2d39366d1 100644
--- a/modules/mappers/mod_watchdog.c
+++ b/modules/mappers/mod_watchdog.c
@@ -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;
}
}