From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90271 invoked by alias); 19 Dec 2018 23:35:24 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 90258 invoked by uid 89); 19 Dec 2018 23:35:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Processed X-HELO: mail-it1-f195.google.com Received: from mail-it1-f195.google.com (HELO mail-it1-f195.google.com) (209.85.166.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Dec 2018 23:35:21 +0000 Received: by mail-it1-f195.google.com with SMTP id g76so328688itg.2 for ; Wed, 19 Dec 2018 15:35:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=wnBzKEE9/yYVmNVltuKN17PSQLVJzrTarJ7hma0UeOM=; b=TWFwKgD+5hYRlYf+4TN89HNSWj5tw8UqNg91Hw1CQ9C7rIBdUhR1OHqlSFmsrcAl5O TBI7zWSRJriEN2rmczIM82iOWHMSFwJcK2GZXI+uB95gq8oGw/sff2lnuWS4zPIJor+D gaxelVLskAfQOeFOASAChkxW2eSnVrUTp3mexmkCTIkHzsOtd9Gqp4i6ZoNDYhhuKaO4 i75gJpv7OdkvZLVJ31OVhowwzJ8KP2ELgaImY63vtO/CQpRRsOjOVGe5D3Drd4RlgOGF E6YedaTAW2vAs7GaEzpGIpD/+3W+H+85kKoa1yML+vyAeYNjQvhWQ2OyCWB/xg5eTdBZ k2lQ== Return-Path: Received: from nick-System-Product-Name.hitronhub.home (173-230-163-230.cable.teksavvy.com. [173.230.163.230]) by smtp.googlemail.com with ESMTPSA id y23sm5964911ita.1.2018.12.19.15.35.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 15:35:19 -0800 (PST) From: Nicholas Krause To: gcc-patches@gcc.gnu.org Subject: [PATCH] Use proper print formatter in main function in fixincl.c Date: Wed, 19 Dec 2018 23:35:00 -0000 Message-Id: <20181219233514.13889-1-xerofoify@gmail.com> X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg01429.txt.bz2 This fixes the bug id, 71176 to use the proper known code print formatter type, %lu for size_t rather than %d which is considered best pratice for print statements. Signed-off-by: Nicholas Krause --- fixincludes/fixincl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixincludes/fixincl.c b/fixincludes/fixincl.c index 6dba2f6e830..8e16a2f7792 100644 --- a/fixincludes/fixincl.c +++ b/fixincludes/fixincl.c @@ -159,7 +159,7 @@ main (int argc, char** argv) tSCC zFmt[] = "\ Processed %5d files containing %d bytes \n\ -Applying %5d fixes to %d files\n\ +Applying %5d fixes to %lu files\n\ Altering %5d of them\n"; fprintf (stderr, zFmt, process_ct, ttl_data_size, apply_ct, -- 2.17.1