From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 D3EEF8233B for ; Wed, 21 Dec 2016 17:31:45 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP; 21 Dec 2016 17:31:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,386,1477983600"; d="scan'208";a="45255395" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by orsmga005.jf.intel.com with ESMTP; 21 Dec 2016 17:31:44 -0800 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Liming Gao , Yonghong Zhu Date: Thu, 22 Dec 2016 09:31:42 +0800 Message-Id: <1482370302-12572-1-git-send-email-hao.a.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.0 Subject: [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 01:31:45 -0000 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(-) 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; - set_new(a, strlen(s)); + set_new(a, (unsigned) strlen(s)); p = a.setword; endp = &(a.setword[a.n]); do { -- 1.9.5.msysgit.0