From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.5252.1602567003384457821 for ; Mon, 12 Oct 2020 22:30:03 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: chinni.b.duggapu@intel.com) IronPort-SDR: aIHKbBMxy94B7kBv3oRpAbXJXFTVDG/pi8vJGge5hS6YqH46NXaUxwuXkUQo+4Tj9jCRD7tnqh GA3wSGQ3k6aQ== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="145169274" X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="145169274" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 22:30:02 -0700 IronPort-SDR: j6kzKSW/SgEkmroSwKRXe195kh6v0jfMs2hRB40lY9OsbrGtvNpmTsiV3ETjJU+MH+dRdR7yXw SZujPEpjfjpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="463360186" Received: from cbduggap-desk.gar.corp.intel.com ([10.66.179.79]) by orsmga004.jf.intel.com with ESMTP; 12 Oct 2020 22:29:59 -0700 From: "cbduggap" To: devel@edk2.groups.io Cc: cbduggap , Bob Feng , Liming Gao , Liu, Zhiguang Subject: [Patch V4 1/1] [BUG FIX] Tools\FitGen: FIX for GCC Build Failure Date: Tue, 13 Oct 2020 10:59:55 +0530 Message-Id: <20201013052956.14879-1-chinni.b.duggapu@intel.com> X-Mailer: git-send-email 2.26.2.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2981 Added Type Casting to print UINT64 Value using Printf to fix the GCC build = error. Signed-off-by: cbduggap Cc: Bob Feng Cc: Liming Gao Cc: Liu, Zhiguang Signed-off-by: cbduggap --- Silicon/Intel/Tools/FitGen/FitGen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/Intel/Tools/FitGen/FitGen.c b/Silicon/Intel/Tools/FitG= en/FitGen.c index febeb008fe..e9541c1e95 100644 --- a/Silicon/Intel/Tools/FitGen/FitGen.c +++ b/Silicon/Intel/Tools/FitGen/FitGen.c @@ -1004,7 +1004,7 @@ Returns: //=0D gFitTableContext.TopFlashAddressRemapValue =3D 0x100000000;=0D }=0D - printf ("Top Flash Address Value : 0x%llx\n", gFitTableContext.TopFlashA= ddressRemapValue);=0D + printf ("Top Flash Address Value : 0x%llx\n", (unsigned long long) gFitT= ableContext.TopFlashAddressRemapValue);=0D //=0D // 0.4 Clear FIT table related memory=0D //=0D --=20 2.26.2.windows.1