From 49dec51c610b02a97707f1091f2273ed49a11d4b Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Thu, 3 Jan 2008 14:47:41 +0000 Subject: [PATCH] * Silence a compiler warning by using the correct format. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@608508 13f79535-47bb-0310-9956-ffa450edef68 --- modules/loggers/mod_log_forensic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/loggers/mod_log_forensic.c b/modules/loggers/mod_log_forensic.c index 3fad35a70b..624d2c2f0f 100644 --- a/modules/loggers/mod_log_forensic.c +++ b/modules/loggers/mod_log_forensic.c @@ -195,8 +195,8 @@ static int log_before(request_rec *r) if (!(id = apr_table_get(r->subprocess_env, "UNIQUE_ID"))) { /* we make the assumption that we can't go through all the PIDs in under 1 second */ - id = apr_psprintf(r->pool, "%x:%lx:%x", getpid(), time(NULL), - apr_atomic_inc32(&next_id)); + id = apr_psprintf(r->pool, "%" APR_PID_T_FMT "x:%lx:%x", getpid(), + time(NULL), apr_atomic_inc32(&next_id)); } ap_set_module_config(r->request_config, &log_forensic_module, (char *)id); -- 2.50.1