]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/GenFv: Fix parameter format mismatch in scanf functions
authorHao Wu <hao.a.wu@intel.com>
Tue, 11 Oct 2016 03:03:24 +0000 (11:03 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 8 Nov 2016 08:36:54 +0000 (16:36 +0800)
commit488ace56a6b135f79b56e3905d5c989638a0ec90
treeab03d725237423f7bc98943a8845578133bbb3bf
parent851c97ce78393d5875eec984fbd870e8e85e5fd8
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>
BaseTools/Source/C/GenFv/GenFvInternalLib.c