]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/C/GenFw/Elf32Convert.c
BaseTools/GenFw: Fix a bug for GCC build
authorYonghong Zhu <yonghong.zhu@intel.com>
Wed, 17 Feb 2016 08:57:44 +0000 (16:57 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 18 Feb 2016 03:25:54 +0000 (11:25 +0800)
commita754c70ceec880038f0e61e413398e96468b34f1
tree05ad0330d75f416795a0195079a227023df91f9e
parentaae1a87555ed4a433fdf980085aa6e73ae27c576
BaseTools/GenFw: Fix a bug for GCC build

current GCC build report error: 'for' loop initial declarations are only
allowed in C99 or C11 mode, the patch fix this failure.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/GenFw/Elf32Convert.c
BaseTools/Source/C/GenFw/Elf64Convert.c