]> granicus.if.org Git - apache/commitdiff
If thread_num is long, this better be an %ld
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 26 Nov 2004 20:10:41 +0000 (20:10 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 26 Nov 2004 20:10:41 +0000 (20:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106653 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/child.c

index f8f0592e4447986774fceb159789b499ce6e1cf8..56429c54e0276263e61ddffaa06afa45b1e2c3f4 100644 (file)
@@ -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);
 }