From: Christophe Jaillet Date: Mon, 5 Nov 2012 21:50:50 +0000 (+0000) Subject: cppCheck: kill two warnings about incorrect printf parameters. X-Git-Tag: 2.5.0-alpha~6160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b82e82d6861bed3e12c1860685e591b4fb10b64;p=apache cppCheck: kill two warnings about incorrect printf parameters. 'worker_thread_count' is unsigned git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1405973 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index 77840492d4..6b049c9816 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -942,7 +942,7 @@ static int netware_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) "caught SIGTERM, shutting down"); while (worker_thread_count > 0) { - printf ("\rShutdown pending. Waiting for %d thread(s) to terminate...", + printf ("\rShutdown pending. Waiting for %u thread(s) to terminate...", worker_thread_count); apr_thread_yield(); } @@ -963,7 +963,7 @@ static int netware_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) /* Wait for all of the threads to terminate before initiating the restart */ while (worker_thread_count > 0) { - printf ("\rRestart pending. Waiting for %d thread(s) to terminate...", + printf ("\rRestart pending. Waiting for %u thread(s) to terminate...", worker_thread_count); apr_thread_yield(); }