public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Bob Feng" <bob.c.feng@intel.com>
To: "Duggapu, Chinni B" <chinni.b.duggapu@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: Liming Gao <gaoliming@byosoft.com.cn>,
	"Liu, Zhiguang" <zhiguang.liu@intel.com>
Subject: Re: [Patch V4 1/1] [BUG FIX] Tools\FitGen: FIX for GCC Build Failure
Date: Tue, 13 Oct 2020 09:00:01 +0000	[thread overview]
Message-ID: <DM6PR11MB4073A15BC929961C93F675D6C9040@DM6PR11MB4073.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20201013052956.14879-1-chinni.b.duggapu@intel.com>

Reviewed-by: Bob Feng <bob.c.feng@intel.com>

-----Original Message-----
From: Duggapu, Chinni B <chinni.b.duggapu@intel.com> 
Sent: Tuesday, October 13, 2020 1:30 PM
To: devel@edk2.groups.io
Cc: Duggapu, Chinni B <chinni.b.duggapu@intel.com>; Feng, Bob C <bob.c.feng@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Liu; Liu, Zhiguang <zhiguang.liu@intel.com>
Subject: [Patch V4 1/1] [BUG FIX] Tools\FitGen: FIX for GCC Build Failure

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2981

Added Type Casting to print UINT64 Value using Printf to fix the GCC build error.

Signed-off-by: cbduggap <chinni.b.duggapu@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Liu, Zhiguang <zhiguang.liu@intel.com>

Signed-off-by: cbduggap <chinni.b.duggapu@intel.com>
---
 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/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:
     //

     gFitTableContext.TopFlashAddressRemapValue = 0x100000000;

   }

-  printf ("Top Flash Address Value : 0x%llx\n", gFitTableContext.TopFlashAddressRemapValue);

+  printf ("Top Flash Address Value : 0x%llx\n", (unsigned long long) gFitTableContext.TopFlashAddressRemapValue);

   //

   // 0.4 Clear FIT table related memory

   //

-- 
2.26.2.windows.1


  parent reply	other threads:[~2020-10-13  9:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-13  5:29 [Patch V4 1/1] [BUG FIX] Tools\FitGen: FIX for GCC Build Failure cbduggap
2020-10-13  7:06 ` Zhiguang Liu
2020-10-13  9:00 ` Bob Feng [this message]
2020-10-14  5:14   ` 回复: [edk2-devel] " gaoliming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR11MB4073A15BC929961C93F675D6C9040@DM6PR11MB4073.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox