From 9b82e82d6861bed3e12c1860685e591b4fb10b64 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 5 Nov 2012 21:50:50 +0000 Subject: [PATCH] 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 --- server/mpm/netware/mpm_netware.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.40.0