summaryrefslogtreecommitdiffstats
path: root/support/htcacheclean.c
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2010-02-16 23:57:00 +0100
committerGraham Leggett <minfrin@apache.org>2010-02-16 23:57:00 +0100
commit69eeef38cdbf8544337684eab95c1e44dd1a67c8 (patch)
treea94f8689b3fa37d1a0570d2679448214a141c02d /support/htcacheclean.c
parentFix the help description. (diff)
downloadapache2-69eeef38cdbf8544337684eab95c1e44dd1a67c8.tar.xz
apache2-69eeef38cdbf8544337684eab95c1e44dd1a67c8.zip
Use APR_PID_T_FMT instead of %ld and a cast.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htcacheclean.c')
-rw-r--r--support/htcacheclean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/htcacheclean.c b/support/htcacheclean.c
index 212192f676..5c6378b68d 100644
--- a/support/htcacheclean.c
+++ b/support/htcacheclean.c
@@ -974,7 +974,7 @@ int main(int argc, const char * const argv[])
if (APR_SUCCESS == (status = apr_file_open(&file, pidfile, APR_WRITE
| APR_CREATE | APR_TRUNCATE,
APR_UREAD | APR_UWRITE | APR_GREAD, pool))) {
- apr_file_printf(file, "%ld" APR_EOL_STR, (long) mypid);
+ apr_file_printf(file, "%" APR_PID_T_FMT APR_EOL_STR, mypid);
apr_file_close(file);
}
else if (!isdaemon) {