]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/GenFfs: Enlarge the size of 'AlignmentBuffer'
authorHao Wu <hao.a.wu@intel.com>
Mon, 18 Dec 2017 07:52:33 +0000 (15:52 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 25 Dec 2017 01:54:44 +0000 (09:54 +0800)
commit33fc1fc46deb3b7779b92228b1c2d0aba2d16e44
tree7aebdbda41cffd9b756314daedd832b9035a85e5
parentb748e35c2bb0b6bcd1d89ef67e8f905b0a1c5c11
BaseTools/GenFfs: Enlarge the size of 'AlignmentBuffer'

As a workaround for the static code checkers, enlarge the size of the
string buffer 'AlignmentBuffer' so that it can hold all the digits of an
unsigned 32-bit integer plus the size unit character (e.g. 'M' & 'K').

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/GenFfs/GenFfs.c