From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A164682319 for ; Wed, 21 Dec 2016 19:28:25 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP; 21 Dec 2016 19:28:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,386,1477983600"; d="scan'208";a="45851513" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 21 Dec 2016 19:28:25 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 21 Dec 2016 19:28:25 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 21 Dec 2016 19:28:24 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Thu, 22 Dec 2016 11:28:23 +0800 From: "Gao, Liming" To: "Wu, Hao A" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH] BaseTools/Pccts: Resolve GCC sting format mismatch build warning Thread-Index: AQHSW/Mtk921mwhUMkWuGst18W50XaETTvmg Date: Thu, 22 Dec 2016 03:28:22 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6C324D@shsmsx102.ccr.corp.intel.com> References: <1482370302-12572-1-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1482370302-12572-1-git-send-email-hao.a.wu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] BaseTools/Pccts: Resolve GCC sting format mismatch build warning X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 03:28:25 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Wu, Hao A > Sent: Thursday, December 22, 2016 9:32 AM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Gao, Liming ; > Zhu, Yonghong > Subject: [PATCH] BaseTools/Pccts: Resolve GCC sting format mismatch build > warning >=20 > Cc: Liming Gao > Cc: Yonghong Zhu > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Hao Wu > --- > BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c > b/BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c > index eb6fba7..6b9b510 100644 > --- a/BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c > +++ b/BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c > @@ -554,7 +554,7 @@ register char *s; > static set a; > register unsigned *p, *endp; >=20 > - set_new(a, strlen(s)); > + set_new(a, (unsigned) strlen(s)); > p =3D a.setword; > endp =3D &(a.setword[a.n]); > do { > -- > 1.9.5.msysgit.0