Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD4D3DAFB for ; Mon, 5 Nov 2012 21:51:11 +0000 (UTC) Received: (qmail 66402 invoked by uid 500); 5 Nov 2012 21:51:11 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 66349 invoked by uid 500); 5 Nov 2012 21:51:11 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 66341 invoked by uid 99); 5 Nov 2012 21:51:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 21:51:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 21:51:10 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 79BA723888E7; Mon, 5 Nov 2012 21:50:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1405973 - /httpd/httpd/trunk/server/mpm/netware/mpm_netware.c Date: Mon, 05 Nov 2012 21:50:50 -0000 To: cvs@httpd.apache.org From: jailletc36@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121105215050.79BA723888E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jailletc36 Date: Mon Nov 5 21:50:50 2012 New Revision: 1405973 URL: http://svn.apache.org/viewvc?rev=1405973&view=rev Log: cppCheck: kill two warnings about incorrect printf parameters. 'worker_thread_count' is unsigned Modified: httpd/httpd/trunk/server/mpm/netware/mpm_netware.c Modified: httpd/httpd/trunk/server/mpm/netware/mpm_netware.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/netware/mpm_netware.c?rev=1405973&r1=1405972&r2=1405973&view=diff ============================================================================== --- httpd/httpd/trunk/server/mpm/netware/mpm_netware.c (original) +++ httpd/httpd/trunk/server/mpm/netware/mpm_netware.c Mon Nov 5 21:50:50 2012 @@ -942,7 +942,7 @@ static int netware_run(apr_pool_t *_pcon "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 *_pcon /* 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(); }