From c9de995739235d27dfadaecedb633a6f84485bc6 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Tue, 10 Feb 2009 15:25:32 +0000 Subject: [PATCH] remove belt-and-suspenders casting git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@742995 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_watchdog.c | 6 +++--- 1 file 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; } } -- 2.40.0