]> git.proxmox.com Git - mirror_edk2.git/commit
VfrCompile: fix invalid comparison between pointer and integer
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 13 Feb 2017 12:54:00 +0000 (20:54 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 22 Feb 2017 02:45:51 +0000 (10:45 +0800)
commitd37fa01fbbe2cf0cd8b49069a71706a33cb4a53e
treec1ff64a22d92178368eb8fd14b4eacb9d726ba35
parentdc4c770763d05297c7de6893a1e34b76499d0b09
VfrCompile: fix invalid comparison between pointer and integer

This would be valid C but is not valid C++, so change the comparison to do what it has always been doing.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp