From: William A. Rowe Jr Date: Fri, 26 Nov 2004 20:10:41 +0000 (+0000) Subject: If thread_num is long, this better be an %ld X-Git-Tag: 2.1.2~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f4105e37a2a7ba1d9512306964f3eeea2502b19;p=apache 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 --- 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); }