mirror of https://github.com/acidanthera/audk.git
BaseTools/GenFv: Fix parameter format mismatch in scanf functions
According to MSDN https://msdn.microsoft.com/en-us/library/6ttkkkhh.aspx & https://msdn.microsoft.com/en-us/library/xdb9w69d.aspx Format specification '%llx' for scanf expects type 'long long *', modify the type of the relating variable to 'long long' to keep them matched. Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
851c97ce78
commit
488ace56a6
|
@ -751,7 +751,7 @@ Returns:
|
|||
EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr;
|
||||
EFI_TE_IMAGE_HEADER *TEImageHeader;
|
||||
EFI_IMAGE_SECTION_HEADER *SectionHeader;
|
||||
unsigned long long TempLongAddress;
|
||||
long long TempLongAddress;
|
||||
UINT32 TextVirtualAddress;
|
||||
UINT32 DataVirtualAddress;
|
||||
EFI_PHYSICAL_ADDRESS LinkTimeBaseAddress;
|
||||
|
|
Loading…
Reference in New Issue