From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.4786.1602652464724309618 for ; Tue, 13 Oct 2020 22:14:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 14 Oct 2020 13:14:21 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , "'Duggapu, Chinni B'" Cc: "'Liu, Zhiguang'" References: <20201013052956.14879-1-chinni.b.duggapu@intel.com> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BhdGNoIFY0IDEvMV0gW0JVRyBGSVhdIFRvb2xzXEZpdEdlbjogRklYIGZvciBHQ0MgQnVpbGQgRmFpbHVyZQ==?= Date: Wed, 14 Oct 2020 13:14:23 +0800 Message-ID: <003601d6a1e8$e1136e80$a33a4b80$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQEuVDSZLbbd7RLnQ0sY+lmkrUn4GAF0MEBVqtuHqgA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao Merge @ b0459fb6cf5083f5fcdf91d1e1518a86b22add1b in edk2-platform. Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: bounce+27952+66168+4905953+8761045@groups.io > =B4=FA=B1=ED Bob Feng > =B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA10=D4=C213=C8=D5 17:00 > =CA=D5=BC=FE=C8=CB: Duggapu, Chinni B ; > devel@edk2.groups.io > =B3=AD=CB=CD: Liming Gao ; Liu, Zhiguang > > =D6=F7=CC=E2: Re: [edk2-devel] [Patch V4 1/1] [BUG FIX] Tools\FitGen: FI= X for GCC > Build Failure >=20 > Reviewed-by: Bob Feng >=20 > -----Original Message----- > From: Duggapu, Chinni B > 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 Failur= e >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2981 >=20 > Added Type Casting to print UINT64 Value using Printf to fix the GCC bui= ld > error. >=20 > Signed-off-by: cbduggap > Cc: Bob Feng > Cc: Liming Gao > Cc: Liu, Zhiguang >=20 > Signed-off-by: cbduggap > --- > Silicon/Intel/Tools/FitGen/FitGen.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/Silicon/Intel/Tools/FitGen/FitGen.c > b/Silicon/Intel/Tools/FitGen/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: > // >=20 > gFitTableContext.TopFlashAddressRemapValue =3D 0x100000000; >=20 > } >=20 > - printf ("Top Flash Address Value : 0x%llx\n", > gFitTableContext.TopFlashAddressRemapValue); >=20 > + printf ("Top Flash Address Value : 0x%llx\n", (unsigned long long) > gFitTableContext.TopFlashAddressRemapValue); >=20 > // >=20 > // 0.4 Clear FIT table related memory >=20 > // >=20 > -- > 2.26.2.windows.1 >=20 >=20 >=20 >=20 >=20