From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.7596.1602579612176625172 for ; Tue, 13 Oct 2020 02:00:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=aVTBVLaA; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: bob.c.feng@intel.com) IronPort-SDR: jb3fRmmGQH4FISdlB0JshzA2/1sQW3bzCwN1PALUnmklDqkZ0AgxWyMwl1zk8OVDBwz/HYfTXq TrH6lRESjykQ== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="153707840" X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="153707840" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 02:00:10 -0700 IronPort-SDR: yljVEurk25nKlovLZ8ArTAQQ45XNFQslKoAdS5lkpekb9E8IXr/Ksgj/TAxL6KeZ2cWMEDY8oj KdwoZpHFKY/g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="330028369" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga002.jf.intel.com with ESMTP; 13 Oct 2020 02:00:10 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 13 Oct 2020 02:00:09 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 13 Oct 2020 02:00:09 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 13 Oct 2020 02:00:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CNaY+5hCLU+hf5mC0/SKq5O2OXNMdJtV1gRNS28uCBN34LTRiuoB7TpnwEZq9If1+V5OYvBw02Qt9GcCd4nSqV5blweLcpXe0f1YhNcCuflcqsLlj9U935ka6KHDSKpraoQsXMrdlAJBDdcEyKXYNLShWNvzrwj1YANRYIjkxHnfbuI+JLtN7hssf0O7uzda+91J410pzdrcTLfJSijaNYZx43v449uVDrhP4T9YFUtua0bK11VzxMKbT5zRR1oc2hP3End2ulyrnEMcfzv6pQ0/oJQ0HH8bYHqulyeoAPjnxD5DeD9QVUjxmPj3krDG60e+kQn0L/WB4NDvM1bUSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HVFavtC2FZlbyKV7dQgVG9XtO8sV0FH0wv4ovkOzwTo=; b=QofFQKFQXcyUwhw1Suajc7lTP0onBTsRs3gQ3a9vqM9cKo74jJlcuOxhcKpFTlJ/fmULkorBNdn8UpWbt2ihufXZRluwokxPf40m/Pm3VTnWp54XyZE1TVnkMyV4T9dY8g1JMRw3SV2SoXM9+pUeIONABcdG0SA802/5faCaKw4+QgzK/cqo4vTOU4W7nsBQYkvu6SZrUqq1sNzZJ9QvquBPvH/oTac/4Pbt2kx4AwcUX3uNZNlmKbSHURNztrCYjNefrjeMUCQWvqqXi1GfHC8HaPvaZMU5K64sY3ozF3x7WfwfDAbGnFR/60jXWp+hRRC662CxUdSef2To4s5rVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HVFavtC2FZlbyKV7dQgVG9XtO8sV0FH0wv4ovkOzwTo=; b=aVTBVLaAOSvcwZ74ekxvhjLboRqzHn0cPbDmaiI+nRmEI7KUZbahkwD8Dy5A/Hk7+ViJvdttets/J18Bqx+H9SWUd6t6y/K3F9vgTuMIxm6/s6GgAmBZ510PfIl7trj60PGoeNTphwaEK9pqoOkW3rqx5WU/F1kjRrejUMpWqLw= Received: from DM6PR11MB4073.namprd11.prod.outlook.com (2603:10b6:5:19f::22) by DM5PR11MB1788.namprd11.prod.outlook.com (2603:10b6:3:10a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.22; Tue, 13 Oct 2020 09:00:02 +0000 Received: from DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::cd42:ed68:e66a:1eaa]) by DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::cd42:ed68:e66a:1eaa%7]) with mapi id 15.20.3455.030; Tue, 13 Oct 2020 09:00:02 +0000 From: "Bob Feng" To: "Duggapu, Chinni B" , "devel@edk2.groups.io" CC: Liming Gao , "Liu, Zhiguang" Subject: Re: [Patch V4 1/1] [BUG FIX] Tools\FitGen: FIX for GCC Build Failure Thread-Topic: [Patch V4 1/1] [BUG FIX] Tools\FitGen: FIX for GCC Build Failure Thread-Index: AQHWoSHupQo4prjMUE+M0+X1o5VpvKmVPAXQ Date: Tue, 13 Oct 2020 09:00:01 +0000 Message-ID: References: <20201013052956.14879-1-chinni.b.duggapu@intel.com> In-Reply-To: <20201013052956.14879-1-chinni.b.duggapu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9b5d1b86-4992-4d0f-c9a7-08d86f565ec9 x-ms-traffictypediagnostic: DM5PR11MB1788: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rdNhzsFZCbgYZagAJIUkYYMFDN4CHiu5ARbBNlejsaDk43afjO271oNjIkmSVbvfgT7LDtQy/B0nPaKNZ5rXMYyvHn2AbVFn7F5r4Z6BA6jqizogH6mBjSNFKby9/+pLXB9r/IB1V3quZAa0zd+8/tD/6EdVUptGWiwUYqm9kYQjWTC0wyne551FfgHtnTzgLO4iaQWpMjt/e4FJ26XupPfmDBXjzUT92vj1FOh/iiQ4F7ZXKEAy/8XsZsy2WRgzgV12ucKJNj1NKQdEh9MSJu9zKjFQHjozYY5++ke4+9LlN9XU9NfWdc5NhkEmUJefwRAadi2P1wu/BKIIHLQVssryaUoDwxOr6Mm610GXFh8TeFRR4QK/D/jxUbZR38HpRGM8RtnixLwWqiGL6G5Ccw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4073.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(39860400002)(376002)(346002)(136003)(396003)(71200400001)(6506007)(53546011)(186003)(55016002)(8936002)(83080400001)(478600001)(26005)(76116006)(86362001)(66476007)(66446008)(66556008)(64756008)(66946007)(8676002)(83380400001)(7696005)(316002)(110136005)(4326008)(54906003)(52536014)(5660300002)(33656002)(2906002)(9686003)(107886003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 4J65FrjKbTx9+U5rKQ+xuYYEjxEabPWEzkwvRU6TOaUgXflLDv2GEIJEdkTaqklOLGz4XRQ3sVFSRsCULN37g4PjYmxmVYTRA4aGEhDm3YRGp0Xj/VlF7lEzzEL5gyBIUmZKiZAlV4IcWN/9c04rhrNYxLcFgzLYahupIOKZRJMansfzQ5ZfNraWuoE55iw9G+k5hXLs2DDONMVrCydQfFxNFsE7oZIAOb0d/L02FSF/7Bx75qs0gbfP6R76r/a2p6SIDwrTJbPjHLS6PtFa8E4nw9wbMH7P5q0/OSYZaoismn0RgKmp4mCzDbaJmfpOi2ZwRfxcvFFgBdbwqoWQO6BPY5s22ci8OsBIwa19N7f62nJ3ovkhvefRgPLWGqjsAJ9l8NavYo5yxYRptJcdXFIyXXs2qTuc+eOBr0Qd52hipQ5WPFEDJFNZqejqML00sO1KWleGc1u2V/Eq4Z1VxZEonhytHv7kEWWa1WIGUI/IXNPijszfKrdR0mWVeIsFxU8NVmDB9SqyxoZpr+OwDnMvslFFgWPl0X5f3es+HyCkOFWPHX0yJT9fXdqwGwFpfCWYz4z8Gljijl5llT6A+DY1NajIWMsz36iLmRVdiKnnjo0QA+O/C1lnE8BiWfd18buE9lKLDMvy1+7oqI+rMg== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4073.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b5d1b86-4992-4d0f-c9a7-08d86f565ec9 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2020 09:00:02.0049 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qGHmEWD7FL2QROjaE1NE3RgVtBMT4pu9OaIInZIt7e8LOw/fvOCIIi8ZT63rdwTDL1Zb2YH4Ck0hvEQAN05ADQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1788 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng -----Original Message----- From: Duggapu, Chinni B =20 Sent: Tuesday, October 13, 2020 1:30 PM To: devel@edk2.groups.io Cc: Duggapu, Chinni B ; Feng, Bob C ; Liming Gao ; Liu; Liu, Zhiguang Subject: [Patch V4 1/1] [BUG FIX] Tools\FitGen: FIX for GCC Build Failure 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: // gFitTableContext.TopFlashAddressRemapValue =3D 0x100000000; } - printf ("Top Flash Address Value : 0x%llx\n", gFitTableContext.TopFlashA= ddressRemapValue); + printf ("Top Flash Address Value : 0x%llx\n", (unsigned long long) gFitT= ableContext.TopFlashAddressRemapValue); // // 0.4 Clear FIT table related memory // --=20 2.26.2.windows.1