BaseTools GenFv: Fix build warning on X64 Linux
authorjljusten <jljusten@c2973edb-eda0-4c78-bc6a-9341b269661f>
Fri, 12 Feb 2010 09:01:11 +0000 (09:01 +0000)
committerjljusten <jljusten@c2973edb-eda0-4c78-bc6a-9341b269661f>
Fri, 12 Feb 2010 09:01:11 +0000 (09:01 +0000)
git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1874 c2973edb-eda0-4c78-bc6a-9341b269661f

Source/C/GenFv/GenFvInternalLib.c

index a8c8526..00d0085 100644 (file)
@@ -1084,7 +1084,7 @@ Returns:
       memcpy (*VtfFileImage, FileBuffer, FileSize);\r
       \r
       PrintGuidToBuffer ((EFI_GUID *) FileBuffer, FileGuidString, sizeof (FileGuidString), TRUE); \r
-      fprintf (FvReportFile, "0x%08X %s\n", (unsigned) (((UINT8 *)*VtfFileImage) - (UINTN)FvImage->FileImage), FileGuidString);\r
+      fprintf (FvReportFile, "0x%08X %s\n", (unsigned)(UINTN) (((UINT8 *)*VtfFileImage) - (UINTN)FvImage->FileImage), FileGuidString);\r
 \r
       free (FileBuffer);\r
       DebugMsg (NULL, 0, 9, "Add VTF FFS file in FV image", NULL);\r