From 8f4105e37a2a7ba1d9512306964f3eeea2502b19 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Fri, 26 Nov 2004 20:10:41 +0000 Subject: [PATCH] If thread_num is long, this better be an %ld git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106653 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/winnt/child.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index f8f0592e44..56429c54e0 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -737,7 +737,7 @@ static void worker_main(long *thread_num_) ap_sb_handle_t *sbh; ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, ap_server_conf, - "Child %d: Worker thread %d starting.", my_pid, thread_num); + "Child %d: Worker thread %ld starting.", my_pid, thread_num); while (1) { conn_rec *c; apr_int32_t disconnected; @@ -799,7 +799,7 @@ static void worker_main(long *thread_num_) (request_rec *) NULL); ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, ap_server_conf, - "Child %d: Worker thread %d exiting.", my_pid, thread_num); + "Child %d: Worker thread %ld exiting.", my_pid, thread_num); } -- 2.40.0