mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
dc4c770763
commit
d37fa01fbb
|
@ -3372,7 +3372,7 @@ CVfrStringDB::GetVarStoreNameFormStringId (
|
|||
UINT8 BlockType;
|
||||
EFI_HII_STRING_PACKAGE_HDR *PkgHeader;
|
||||
|
||||
if (mStringFileName == '\0' ) {
|
||||
if (mStringFileName == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue