public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch V4 1/1] [BUG FIX] Tools\FitGen: FIX for GCC Build Failure
@ 2020-10-13  5:29 cbduggap
  2020-10-13  7:06 ` Zhiguang Liu
  2020-10-13  9:00 ` Bob Feng
  0 siblings, 2 replies; 4+ messages in thread
From: cbduggap @ 2020-10-13  5:29 UTC (permalink / raw)
  To: devel; +Cc: cbduggap, Bob Feng, Liming Gao, Liu, Zhiguang

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-14  5:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2020-10-14  5:14   ` 回复: [edk2-devel] " gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox